summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-09-25 12:30:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-27 11:58:45 -0400
commit8f0804c6b7d091d9a26932d7e5224cc8317f7855 (patch)
tree8c59260740cd52f41461210607ec4d23e7a8b915 /drivers/gpu/drm/amd/include
parent9610a3bfde4100c67ecc3367ed34d43d918be88f (diff)
downloadlinux-8f0804c6b7d091d9a26932d7e5224cc8317f7855.tar.gz
linux-8f0804c6b7d091d9a26932d7e5224cc8317f7855.tar.bz2
linux-8f0804c6b7d091d9a26932d7e5224cc8317f7855.zip
drm/amd/pm: add edc leakage controller setting
Enable edc controller table setting. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r--drivers/gpu/drm/amd/include/atombios.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index 8ba21747b40a..e6548bb6cad2 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -5655,6 +5655,22 @@ typedef struct _ATOM_GFX_INFO_V2_1
UCHAR max_texture_channel_caches;
}ATOM_GFX_INFO_V2_1;
+typedef struct _ATOM_GFX_INFO_V2_3
+{
+ ATOM_COMMON_TABLE_HEADER asHeader;
+ UCHAR GfxIpMinVer;
+ UCHAR GfxIpMajVer;
+ UCHAR max_shader_engines;
+ UCHAR max_tile_pipes;
+ UCHAR max_cu_per_sh;
+ UCHAR max_sh_per_se;
+ UCHAR max_backends_per_se;
+ UCHAR max_texture_channel_caches;
+ USHORT usHiLoLeakageThreshold;
+ USHORT usEdcDidtLoDpm7TableOffset; //offset of DPM7 low leakage table _ATOM_EDC_DIDT_TABLE_V1
+ USHORT usEdcDidtHiDpm7TableOffset; //offset of DPM7 high leakage table _ATOM_EDC_DIDT_TABLE_V1
+ USHORT usReserverd[3];
+}ATOM_GFX_INFO_V2_3;
typedef struct _ATOM_POWER_SOURCE_OBJECT
{