drm/vmwgfx: Use TTM handles instead of SIDs as user-space surface handles.
Improve the command verifier to catch all occurences of surface handles, and translate to SIDs. This way DMA buffers and 3D surfaces share a common handle space, which makes it possible for the kms code to differentiate. Signed-off-by:Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
Showing
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 6 additions, 4 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_drv.h
- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 129 additions, 24 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 4 additions, 4 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_kms.c
- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c 70 additions, 79 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_resource.c
Loading
Please register or sign in to comment