drm/vmwgfx: Emulate legacy shaders on guest-backed devices v2
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 31 Jan 2014 09:12:10 +0000 (10:12 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 07:39:19 +0000 (08:39 +0100)
commitd5bde956630b86462ee22055f5816a04290aed57
treee5a3fbc34a11695fb722e63e780ca2462eeaf94a
parentc1a21373d2cb94a7808161a8c237b249cd799ce7
drm/vmwgfx: Emulate legacy shaders on guest-backed devices v2

Command stream legacy shader creation and destruction is replaced by
NOPs in the command stream, and instead guest-backed shaders are created
and destroyed as part of the command validation process.

v2: Removed some stray debug messages.

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