diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-10-10 07:28:36 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-11-12 19:29:10 +0300 |
commit | c9da4a4b3820782753c1c455242eca7e5a69eedb (patch) | |
tree | 87fe620346362a96d268caf197cc4075283c1b5b /drivers/gpu/drm/radeon/radeon.h | |
parent | fcf93f6948c3c29fd414bc00f1f713c501dfd22e (diff) | |
download | linux-c9da4a4b3820782753c1c455242eca7e5a69eedb.tar.xz |
drm/radeon: Try placing NO_CPU_ACCESS BOs outside of CPU accessible VRAM
This avoids them getting in the way of BOs which might be accessed by
the CPU. They can still go to the CPU accessible part of VRAM though if
there's no space outside of it.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index a9717b3fbf1b..73288c6077e5 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -474,7 +474,7 @@ struct radeon_bo { struct list_head list; /* Protected by tbo.reserved */ u32 initial_domain; - struct ttm_place placements[3]; + struct ttm_place placements[4]; struct ttm_placement placement; struct ttm_buffer_object tbo; struct ttm_bo_kmap_obj kmap; |