]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit043a00b947d83268cf18b8fefd5926e6af3a677f
treee5a3fbc34a11695fb722e63e780ca2462eeaf94a
parent6a3f8166592e544b1f9880ac644da425d1b23477
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