drm/vmwgfx: Fix SET_SHADER_CONST emulation on guest-backed devices
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jan 2014 10:13:43 +0000 (11:13 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 07:37:05 +0000 (08:37 +0100)
commit0ccbbae43c2dfe45ded1d7ed59b8fc7ac8214fb0
treea935355a5982d0adfc68121e1410897ff3ac60f6
parentcf5e3413337309050c05e13dcebe85b7194a21e5
drm/vmwgfx: Fix SET_SHADER_CONST emulation on guest-backed devices

Emulate the SET_SHADER_CONST legacy command on guest-backed devices by
issuing a SET_GB_SHADERCONSTS_INLINE command.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c