drm/vmwgfx: (Re)bind shaders to MOBs with the correct offset
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 2 Dec 2014 11:41:01 +0000 (03:41 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 3 Dec 2014 08:48:14 +0000 (00:48 -0800)
commitb8ccd1e490de8d9b9a968f859c003a10882ad8c8
treea9eca99789d07574a82f03647e73d3e64c7e1ef3
parent89669e7a7f96be3ee8d9a22a071d7c0d3b4428fc
drm/vmwgfx: (Re)bind shaders to MOBs with the correct offset

This codepath is mostly hit when rebinding after a backup buffer swapout. It's
amazing that this error hasn't been more obvious but probably the shaders are
not reread from guest memory that often..

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