projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a04a84
)
drm/radeon/kms: actualy set the eviction placements we choose
author
Jerome Glisse
<jglisse@redhat.com>
Wed, 9 Dec 2009 20:57:37 +0000
(21:57 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 10 Dec 2009 05:09:06 +0000
(15:09 +1000)
Stupid bug, somehow copying the eviction placements into the
result structure was missing.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/radeon/radeon_ttm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_ttm.c
b/drivers/gpu/drm/radeon/radeon_ttm.c
index 4ca7dfc44310219fbb77577f98086e8203c24c1b..d2ed896cca0127ad8386c3334cd4abd2c0ff5658 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/
drivers/gpu/drm/radeon/radeon_ttm.c
@@
-209,6
+209,7
@@
static void radeon_evict_flags(struct ttm_buffer_object *bo,
default:
radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU);
}
+ *placement = rbo->placement;
}
static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)