drm/vmwgfx: Implement an infrastructure for read-coherent resources
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 28 Mar 2019 10:36:25 +0000 (11:36 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 18 Jun 2019 13:19:35 +0000 (15:19 +0200)
commitd58e3b087b76381ab8460a5bbfa6bd60047df860
tree9258cc8209f4971e63e39c83cbaf7cf997088d99
parent86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4
drm/vmwgfx: Implement an infrastructure for read-coherent resources

Similar to write-coherent resources, make sure that from the user-space
point of view, GPU rendered contents is automatically available for
reading by the CPU.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c