drm/vmwgfx: Fix query buffer locking order violation

commit c8e5e010ef upstream.

The query buffers were reserved while holding the binding mutex, which
caused a circular locking dependency.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Hellstrom 2014-03-31 10:20:30 +02:00 • committed by Greg Kroah-Hartman
commit 900bbb9d90