diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-12-09 15:57:37 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-10 00:09:06 -0500 |
commit | eaa5fd1a66fefd7cc918d80250d66fa48b10b81f (patch) | |
tree | caa6a74c6f990280e3bbdac3f055250ee943fcde /drivers/gpu | |
parent | 4a04a844ba0c09b5641bf2ebd9f9517aa76e52fb (diff) |
drm/radeon/kms: actualy set the eviction placements we choose
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ttm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 4ca7dfc44310..d2ed896cca01 100644 --- 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, | |||
209 | default: | 209 | default: |
210 | radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU); | 210 | radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU); |
211 | } | 211 | } |
212 | *placement = rbo->placement; | ||
212 | } | 213 | } |
213 | 214 | ||
214 | static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp) | 215 | static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp) |