Commit 330b8abd authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Greg Kroah-Hartman
Browse files

drm/nouveau: add lockdep annotations



commit 5f97ab91 upstream.

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>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c7c40b35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment