]> 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)
commitcba659442bb3a3f459ca5887ede31a929a433723
treea0da403bff6701440386ce99bd2ed98d815a17cb
parent57ae9a035174237a8d36a6b6c7c4dc35899cc3a0
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