Thomas Hellstrom 79273e1b7e 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>
2018-03-22 12:08:23 +01:00
..
2018-01-30 18:05:25 +01:00
2018-02-06 09:59:40 -08:00
2017-12-27 19:00:09 -05:00
2018-03-14 10:59:16 +10:00
2018-02-19 14:19:04 -05:00
2017-11-15 20:42:10 -08:00
2018-03-21 14:04:38 +10:00
2018-02-28 15:08:56 -05:00
2017-12-19 21:37:24 +10:00
2018-03-14 10:59:16 +10:00
2017-11-23 12:31:49 +02:00
2017-11-15 20:42:10 -08:00
2018-01-25 11:42:25 +10:00
2018-01-24 15:49:04 -05:00