aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-02-08 15:57:10 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-26 23:09:36 -0500
commiteda9a4eb15e89e4d452ae8dbdc7fd6868c79c605 (patch)
treebb9c656bf184e127954bd05a3d996d2c57153ce3 /drivers/gpu/drm/amd/include
parentdrm/amdgpu: use the TTM dummy page instead of allocating one (diff)
downloadlinux-dev-eda9a4eb15e89e4d452ae8dbdc7fd6868c79c605.tar.xz
linux-dev-eda9a4eb15e89e4d452ae8dbdc7fd6868c79c605.zip
drm/amdgpu: Add query vram width in CGS query system info
powerplay need vram width to set default mclk optimization settings(uphyst/downhyst/activity threshold) Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@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/cgs_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h
index f5c73970ab88..98cf4cebff17 100644
--- a/drivers/gpu/drm/amd/include/cgs_common.h
+++ b/drivers/gpu/drm/amd/include/cgs_common.h
@@ -101,6 +101,7 @@ enum cgs_system_info_id {
CGS_SYSTEM_INFO_PCIE_SUB_SYS_ID,
CGS_SYSTEM_INFO_PCIE_SUB_SYS_VENDOR_ID,
CGS_SYSTEM_INFO_PCIE_BUS_DEVFN,
+ CGS_SYSTEM_INFO_VRAM_WIDTH,
CGS_SYSTEM_INFO_ID_MAXIMUM,
};