aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2023-08-14 18:37:28 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-30 14:57:32 -0400
commite240020ad1e595dd9cee6fa398207a1bf46f6646 (patch)
treefcaa7682caf915bb583eedd7f8f5e8d5ffd6d8f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parentf489a41998ac48abe24a5b80d610240d23296454 (diff)
downloadlinux-e240020ad1e595dd9cee6fa398207a1bf46f6646.tar.gz
linux-e240020ad1e595dd9cee6fa398207a1bf46f6646.tar.bz2
linux-e240020ad1e595dd9cee6fa398207a1bf46f6646.zip
drm/amdgpu: update gc_info v2_1 from discovery
Several new fields are exposed in gc_info v2_1 Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Shiwu Zhang <shiwu.zhang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index a4ff515ce896..395c1768b9fc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -241,6 +241,9 @@ struct amdgpu_gfx_config {
uint32_t gc_gl1c_per_sa;
uint32_t gc_gl1c_size_per_instance;
uint32_t gc_gl2c_per_gpu;
+ uint32_t gc_tcp_size_per_cu;
+ uint32_t gc_num_cu_per_sqc;
+ uint32_t gc_tcc_size;
};
struct amdgpu_cu_info {