]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: make flipping lockdep safe
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Thu, 27 Jun 2013 11:48:18 +0000 (13:48 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 02:03:58 +0000 (12:03 +1000)
commitac5f65b5b78e2ff3624c6ffc193f1fd7503f122f
treea0da403bff6701440386ce99bd2ed98d815a17cb
parent9900c7a35c3fd7a3278727dcf0a08fab6adb3985
drm/nouveau: make flipping lockdep safe

cli->mutex was inverted with reservations, and multiple reservations were
used without a ticket, fix both. This commit had to be done after the previous
commit, because otherwise ttm_eu_* calls would use a different seqno counter..

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c