aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-02-12 00:39:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-02-12 15:47:18 -0500
commit8f8e00c17e63c8893890c9440ad30dbef77ffe58 (patch)
tree28d02cec68c086a13c9a8745ff510e3ed57077d2 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parenta750b47e49f85041d894ef3a5e77bce64a60c6a0 (diff)
drm/amdgpu/gfx: clean up harvest configuration (v2)
Read back harvest configuration from registers and simplify calculations. No need to program the raster config registers. These are programmed as golden registers and the user mode drivers program them as well. v2: rebase on Tom's patches Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 37ac1b2bbadc..588e86c7c5cc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1133,6 +1133,7 @@ struct amdgpu_gca_config {
1133 unsigned multi_gpu_tile_size; 1133 unsigned multi_gpu_tile_size;
1134 unsigned mc_arb_ramcfg; 1134 unsigned mc_arb_ramcfg;
1135 unsigned gb_addr_config; 1135 unsigned gb_addr_config;
1136 unsigned num_rbs;
1136 1137
1137 uint32_t tile_mode_array[32]; 1138 uint32_t tile_mode_array[32];
1138 uint32_t macrotile_mode_array[16]; 1139 uint32_t macrotile_mode_array[16];