]> git.baikalelectronics.ru Git - 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)
commit057ed6e56d05d6862394b5ee5c4acee5b4f991f7
tree5f78dd3ff09db8a382938c363cfbd554c1649ac3
parent1ed2d4960bc9f3044a14559da21a0a5d049dadf8
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