diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-03-29 14:40:28 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-28 17:46:38 -0400 |
commit | 5cb1cfd5f1863c667f43d735b804dee156e09476 (patch) | |
tree | 105751a12d4e52392ab27f44720494dd06b3b591 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
parent | 005835233a2c0fdeb5014a6d690d52474b2404f5 (diff) | |
download | linux-5cb1cfd5f1863c667f43d735b804dee156e09476.tar.gz linux-5cb1cfd5f1863c667f43d735b804dee156e09476.tar.bz2 linux-5cb1cfd5f1863c667f43d735b804dee156e09476.zip |
drm/amdgpu/discovery: populate additional GC info
From the GC info table to the gfx config structure in the
driver. The driver will use this data to configure the
card correctly.
Acked-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_gfx.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 5ed9b8a4c571..ad8e7d486a7d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -183,6 +183,17 @@ struct amdgpu_gfx_config { uint32_t num_packer_per_sc; uint32_t pa_sc_tile_steering_override; uint64_t tcc_disabled_mask; + uint32_t gc_num_tcp_per_sa; + uint32_t gc_num_sdp_interface; + uint32_t gc_num_tcps; + uint32_t gc_num_tcp_per_wpg; + uint32_t gc_tcp_l1_size; + uint32_t gc_num_sqc_per_wgp; + uint32_t gc_l1_instruction_cache_size_per_sqc; + uint32_t gc_l1_data_cache_size_per_sqc; + uint32_t gc_gl1c_per_sa; + uint32_t gc_gl1c_size_per_instance; + uint32_t gc_gl2c_per_gpu; }; struct amdgpu_cu_info { |