aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-03-15 22:32:27 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-17 11:13:21 -0400
commit6f68711dd63522aab34c3e9513fa42a7586a95e5 (patch)
tree5da8b3cc5ddfdfa6c8a9a7c75de962f86db54d2a /drivers/gpu/drm/amd
parent8ad63122f9f22dde172b98fe9c75818831e57f4b (diff)
drm/amdgpu/atomfirmware: add new gfx_info data table v2.4 (v2)
Adds additional gfx configuration data. v2: fix typo Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/include/atomfirmware.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index de177ce8ca80..fd5e80c92ed0 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -1219,6 +1219,40 @@ struct atom_gfx_info_v2_3 {
1219 uint32_t rm21_sram_vmin_value; 1219 uint32_t rm21_sram_vmin_value;
1220}; 1220};
1221 1221
1222struct atom_gfx_info_v2_4 {
1223 struct atom_common_table_header table_header;
1224 uint8_t gfxip_min_ver;
1225 uint8_t gfxip_max_ver;
1226 uint8_t gc_num_se;
1227 uint8_t max_tile_pipes;
1228 uint8_t gc_num_cu_per_sh;
1229 uint8_t gc_num_sh_per_se;
1230 uint8_t gc_num_rb_per_se;
1231 uint8_t gc_num_tccs;
1232 uint32_t regaddr_cp_dma_src_addr;
1233 uint32_t regaddr_cp_dma_src_addr_hi;
1234 uint32_t regaddr_cp_dma_dst_addr;
1235 uint32_t regaddr_cp_dma_dst_addr_hi;
1236 uint32_t regaddr_cp_dma_command;
1237 uint32_t regaddr_cp_status;
1238 uint32_t regaddr_rlc_gpu_clock_32;
1239 uint32_t rlc_gpu_timer_refclk;
1240 uint8_t active_cu_per_sh;
1241 uint8_t active_rb_per_se;
1242 uint16_t gcgoldenoffset;
1243 uint32_t rm21_sram_vmin_value;
1244 uint16_t gc_num_gprs;
1245 uint16_t gc_gsprim_buff_depth;
1246 uint16_t gc_parameter_cache_depth;
1247 uint16_t gc_wave_size;
1248 uint16_t gc_max_waves_per_simd;
1249 uint16_t gc_lds_size;
1250 uint8_t gc_num_max_gs_thds;
1251 uint8_t gc_gs_table_depth;
1252 uint8_t gc_double_offchip_lds_buffer;
1253 uint8_t gc_max_scratch_slots_per_cu;
1254};
1255
1222/* 1256/*
1223 *************************************************************************** 1257 ***************************************************************************
1224 Data Table smu_info structure 1258 Data Table smu_info structure