summaryrefslogtreecommitdiffstats
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)
downloadlinux-8f8e00c17e63c8893890c9440ad30dbef77ffe58.tar.bz2
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 {
unsigned multi_gpu_tile_size;
unsigned mc_arb_ramcfg;
unsigned gb_addr_config;
+ unsigned num_rbs;
uint32_t tile_mode_array[32];
uint32_t macrotile_mode_array[16];