]> 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)
commit83afb14645b2b5b03e46c38f14fde4ae7b2bfc5e
treee5a3fbc34a11695fb722e63e780ca2462eeaf94a
parentc5c3d55c0bdf66e23db78b440b964e76a806d9a8
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