]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Also check for SVGA_CAP_DX before reading DX context support
authorDeepak Rawat <drawat.floss@gmail.com>
Thu, 13 Dec 2018 19:36:31 +0000 (11:36 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 23 Mar 2020 21:39:33 +0000 (22:39 +0100)
commit799495dc3b4432d0d1dcf9f60770a7c91338f2fa
treee83a678f2bcc8d0508199b031cbbc402214c00ec
parent8289fa5621f2b6c9dd9263f6587b67dc49aef41b
drm/vmwgfx: Also check for SVGA_CAP_DX before reading DX context support

Virtual device consider SVGA_CAP_DX and SVGA3D_DEVCAP_DXCONTEXT
independent of each other. Some of the commands in cmd_buf depends on
SVGA_CAP_DX, so better to check for that as well.

Signed-off-by: Deepak Rawat <drawat.floss@gmail.com>
Reviewed-by: Thomas Hellström (VMware) <thomas_os@shipmail.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Roland Scheidegger <sroland@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c