summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-05-19 16:05:50 +0200
committerDave Airlie <airlied@redhat.com>2010-05-21 07:07:24 +0200
commite86527533586259875f08fccb173e3347046cc3f (patch)
treeef7443dbce0cd83640b90f28bec2dce24ce74a30 /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon: AGP memory is only I/O if the aperture can be mapped by the CPU. (diff)
downloadlinux-e86527533586259875f08fccb173e3347046cc3f.tar.xz
linux-e86527533586259875f08fccb173e3347046cc3f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 5c9ce2beaca3..66a37fb75839 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -261,6 +261,7 @@ struct radeon_bo_list {
unsigned rdomain;
unsigned wdomain;
u32 tiling_flags;
+ bool reserved;
};
/*