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: NArend van Spriel <arend@broadcom.com> Reported-by: NPeter Hurley <peter@hurleysoftware.com> Reported-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com> Reported-by: NDaniel J Blueman <daniel@quora.org> Signed-off-by: NMarcin Slusarz <marcin.slusarz@gmail.com> Cc: stable@vger.kernel.org [3.7, but needs s/const ofuncs/ofuncs/ to build] Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
Showing
想要评论请 注册 或 登录