]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5976079c734b7c9a83b093656502ba32aed19b8
tree10d6c6f066e2d7e8d00502f11f059bb80f4b6c52
parentd2ba74fc22b8d179553f15f72fb54c6a151525d4
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