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. Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@surriel.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Jérôme Glisse <jglisse@redhat.com> Cc: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by:Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by:
Deepak Rawat <drawat@vmware.com>
Showing
- drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 232 additions, 1 deletiondrivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 2 additions, 2 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_drv.h
- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 392 additions, 3 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_surface.c
- include/uapi/drm/vmwgfx_drm.h 3 additions, 1 deletioninclude/uapi/drm/vmwgfx_drm.h
Loading
Please register or sign in to comment