Commit eaa5fd1a authored by Jerome Glisse's avatar Jerome Glisse Committed by Dave Airlie
Browse files

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: default avatarJerome Glisse <jglisse@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 4a04a844
...@@ -209,6 +209,7 @@ static void radeon_evict_flags(struct ttm_buffer_object *bo, ...@@ -209,6 +209,7 @@ static void radeon_evict_flags(struct ttm_buffer_object *bo,
default: default:
radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU); 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) static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment