Commit eaa5fd1a66fefd7cc918d80250d66fa48b10b81f

Authored by Jerome Glisse
Committed by Dave Airlie
1 parent 4a04a844ba

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/gpu/drm/radeon/radeon_ttm.c
... ... @@ -209,6 +209,7 @@
209 209 default:
210 210 radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU);
211 211 }
  212 + *placement = rbo->placement;
212 213 }
213 214  
214 215 static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)