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:Arend van Spriel <arend@broadcom.com> Reported-by:
Peter Hurley <peter@hurleysoftware.com> Reported-by:
Maarten Lankhorst <maarten.lankhorst@canonical.com> Reported-by:
Daniel J Blueman <daniel@quora.org> Signed-off-by:
Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by:
Ben Skeggs <bskeggs@redhat.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment