diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-01-16 11:33:27 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 14:08:23 +0300 |
commit | 79273e1b7eb0e2007c5a9cae71af31075df8e6c5 (patch) | |
tree | bea654fe0a2be5cbb72f9cd4197d89ab0a0fe145 /drivers/target/Kconfig | |
parent | 9c11fcf1a74d338774faa059b0aea24264c95658 (diff) | |
download | linux-79273e1b7eb0e2007c5a9cae71af31075df8e6c5.tar.xz |
drm/vmwgfx: Add a cpu blit utility that can be used for page-backed bos
The utility uses kmap_atomic() instead of vmapping the whole buffer
object. As a result there will be more book-keeping but on some
architectures this will help avoid exhausting vmalloc space and also
avoid expensive TLB flushes.
The blit utility also adds a provision to compute a bounding box of
changed content, which is very useful to optimize presentation speed
of ill-behaved applications that don't supply proper damage regions, and
for page-flips. The cost of computing the bounding box is not that
expensive when done in a cpu-blit utility like this.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'drivers/target/Kconfig')
0 files changed, 0 insertions, 0 deletions