]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/vmwgfx: Add surface dirty-tracking callbacks
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 19 Mar 2019 12:27:50 +0000 (13:27 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 18 Jun 2019 13:19:35 +0000 (15:19 +0200)
commit4ba397671237784a212378c271f700e99c66cf39
tree5f78dd3ff09db8a382938c363cfbd554c1649ac3
parentd58e3b087b76381ab8460a5bbfa6bd60047df860
drm/vmwgfx: Add surface dirty-tracking callbacks

Add the callbacks necessary to implement emulated coherent memory for
surfaces. Add a flag to the gb_surface_create ioctl to indicate that
surface memory should be coherent.
Also bump the drm minor version to signal the availability of coherent
surfaces.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
include/uapi/drm/vmwgfx_drm.h