]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Use the cpu blit utility for framebuffer to screen target blits
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 16 Jan 2018 10:07:30 +0000 (11:07 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 22 Mar 2018 11:08:23 +0000 (12:08 +0100)
commit04b303df148b8dc67e41fe7a1d128b0e0f7fc3cc
tree1df2a8845097697730adcb360ec8d9f5a9bc5555
parent853b4ed4a0dad6851f9d4d51f588395e5a738b49
drm/vmwgfx: Use the cpu blit utility for framebuffer to screen target blits

This blit was previously performed using two large vmaps, one of which
was teared down and remapped on each blit. Use the more resource-
conserving TTM cpu blit instead.

The blit is used in boundary-box computing mode which makes it possible
to minimize the bounding box used in host operations.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c