Skip to content
Commit 5f97ab91 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Ben Skeggs
Browse files

drm/nouveau: add lockdep annotations



1) Lockdep thinks all nouveau subdevs belong to the same class and can be
locked in arbitrary order, which is not true (at least in general case).
Tell it to distinguish subdevs by (o)class type.
2) DRM client can be locked under user client lock - tell lockdep to put
DRM client lock in a separate class.

Reported-by: default avatarArend van Spriel <arend@broadcom.com>
Reported-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Reported-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
Reported-by: default avatarDaniel J Blueman <daniel@quora.org>
Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Cc: stable@vger.kernel.org [3.7, but needs s/const ofuncs/ofuncs/ to build]
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 526810ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment