From: Jerome Glisse Date: Wed, 9 Dec 2009 20:57:37 +0000 (+0100) Subject: drm/radeon/kms: actualy set the eviction placements we choose X-Git-Tag: v2.6.33-rc2~19^2~25^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eaa5fd1a66fefd7cc918d80250d66fa48b10b81f;p=platform%2Fkernel%2Flinux-stable.git 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 4ca7dfc..d2ed896 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, 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)