drm/radeon/kms: record object that have been list reserved
authorJerome Glisse <jglisse@redhat.com>
Wed, 19 May 2010 14:05:50 +0000 (16:05 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 21 May 2010 05:07:24 +0000 (15:07 +1000)
commite86527533586259875f08fccb173e3347046cc3f
treeef7443dbce0cd83640b90f28bec2dce24ce74a30
parent365048ff7f977c5983d67b63c47502c5964840e9
drm/radeon/kms: record object that have been list reserved

list reservation was too optimistic about ttm object reservation
and could think that an object reserved by some other process
as reserved by the list reservation which was false. Thus when
unreserving the list it might unreserve object that it didn't
reserved in the list. Sorry if it's hard to follow but this
kind of things are just causing headheck.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_object.c