]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f87207325d2ab725f697c6d2948bab9e577c31f
tree9258cc8209f4971e63e39c83cbaf7cf997088d99
parent6e4c24597f981500056762e1d72132ae7645b55c
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