]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit716a6a54f464aa3137f7db68c380c5dd60d26885
treea9eca99789d07574a82f03647e73d3e64c7e1ef3
parentf6302e62fad394cfcd9c2d8d277f6ffae44eae30
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