From: Thomas Hellstrom Date: Wed, 5 Feb 2014 07:13:56 +0000 (+0100) Subject: drm/vmwgfx: Reemit context bindings when necessary v2 X-Git-Tag: v3.14-rc2~19^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f82d816d2dccfdc2063ac8cca994904c9b612c;p=pandora-kernel.git drm/vmwgfx: Reemit context bindings when necessary v2 When a context is first referenced in the command stream, make sure that all scrubbed (as a result of eviction) bindings are re-emitted. Also make sure that all bound resources are put on the resource validate list. This is needed for legacy emulation, since legacy user-space drivers will typically not re-emit shader bindings. It also removes the requirement for user-space drivers to re-emit render-target- and texture bindings. Makes suspend and hibernate now also work with legacy user-space drivers on guest-backed devices. v2: Don't rebind on legacy devices. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- Reading git-diff-tree failed