diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-11-29 10:35:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-12-12 14:34:07 -0500 |
commit | d025e9e2b890db679f1246037bf65bd4be512627 (patch) | |
tree | 6296d8181ef4db5403746d5d7dd074809b83e025 /drivers/gpu/drm/radeon/radeon.h | |
parent | a636a9829175987e74ddd28a2e87ed17ff7adfdc (diff) |
drm/radeon: do not move bo to different placement at each cs
The bo creation placement is where the bo will be. Instead of trying
to move bo at each command stream let this work to another worker
thread that will use more advance heuristic.
agd5f: remove leftover unused variable
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 5d68346b2c01..1b9120a875ef 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -318,6 +318,7 @@ struct radeon_bo { | |||
318 | struct list_head list; | 318 | struct list_head list; |
319 | /* Protected by tbo.reserved */ | 319 | /* Protected by tbo.reserved */ |
320 | u32 placements[3]; | 320 | u32 placements[3]; |
321 | u32 busy_placements[3]; | ||
321 | struct ttm_placement placement; | 322 | struct ttm_placement placement; |
322 | struct ttm_buffer_object tbo; | 323 | struct ttm_buffer_object tbo; |
323 | struct ttm_bo_kmap_obj kmap; | 324 | struct ttm_bo_kmap_obj kmap; |