drm/vmwgfx: Fix query buffer locking order violation
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 31 Mar 2014 08:20:30 +0000 (10:20 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 3 Apr 2014 07:31:37 +0000 (09:31 +0200)
commitc8e5e010ef12df6707a1d711a5279a22f67a355e
tree10d6c6f066e2d7e8d00502f11f059bb80f4b6c52
parent2844ea3f252331cc0ecf3ae74f6226db2f580f8a
drm/vmwgfx: Fix query buffer locking order violation

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

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_context.c