]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: IB locking dumps out a lockdep ordering issue
authorDave Airlie <airlied@linux.ie>
Tue, 15 Sep 2009 01:12:56 +0000 (11:12 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 15 Sep 2009 23:15:39 +0000 (09:15 +1000)
commit6ce79b7f9cf156b57f09f22a361c0f7b8a8a1b22
tree6cd09599363f9760fed8a210c576c984cbbeec18
parent34a8564ec49f517e448fbd6cac679b87f00acb5b
drm/radeon/kms: IB locking dumps out a lockdep ordering issue

We sometimes lock IB then the ring and sometimes the ring then
the IB. This is mostly due to the IB locking not being well defined
about what data in the structs it actually locks. Define what I
believe is the correct behaviour and gets rid of the lock dep ordering
warning.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_ring.c