aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2021-06-09 13:23:01 -0400
committerZack Rusin <zackr@vmware.com>2021-06-12 00:00:58 -0400
commita12be0277316ed923411c9c80b2899ee74d2b033 (patch)
treee37d6cb193b7040e18d26fb5699fb60bb1129790 /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
parentdrm/vmwgfx: Introduce VMware mks-guest-stats (diff)
downloadlinux-dev-a12be0277316ed923411c9c80b2899ee74d2b033.tar.xz
linux-dev-a12be0277316ed923411c9c80b2899ee74d2b033.zip
drm/vmwgfx: Fix subresource updates with new contexts
The has_dx variable was only set during the initialization which meant that UPDATE_SUBRESOURCE was never used. We were emulating it with UPDATE_GB_IMAGE but that's always been a stop-gap. Instead of has_dx which has been deprecated a long time ago we need to check for whether shader model 4.0 or newer is available to the device. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-4-zackr@vmware.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
0 files changed, 0 insertions, 0 deletions