Skip to content

Commit

Permalink
drm/radeon/kms: actualy set the eviction placements we choose
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Dec 10, 2009
1 parent 4a04a84 commit eaa5fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/radeon_ttm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eaa5fd1

Please sign in to comment.