diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2016-01-08 20:29:39 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-01-14 07:56:44 +1000 |
commit | fb89ac5102ae2875d685c847e6b5dbc141622d43 (patch) | |
tree | d8f3cb78505429997685fb3ea4fe3564c5a3dac6 /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |
parent | 38b1751913c0244056205e456afc07d01fb2ee58 (diff) | |
download | linux-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