summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2016-01-08 20:29:39 +0100
committerDave Airlie <airlied@redhat.com>2016-01-14 07:56:44 +1000
commitfb89ac5102ae2875d685c847e6b5dbc141622d43 (patch)
treed8f3cb78505429997685fb3ea4fe3564c5a3dac6 /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
parent38b1751913c0244056205e456afc07d01fb2ee58 (diff)
downloadlinux-fb89ac5102ae2875d685c847e6b5dbc141622d43.tar.bz2
drm/vmwgfx: Fix an incorrect lock check
With CONFIG_SMP=n and CONFIG_DEBUG_SPINLOCK=y the vmwgfx kernel module would unconditionally throw a bug when checking for a held spinlock in the command buffer code. Fix this by using a lockdep check. Cc: <stable@vger.kernel.org> Reported-and-tested-by: Tetsuo Handa <penguin-kernel@i-love-sakura.ne.jp> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.c')
0 files changed, 0 insertions, 0 deletions