summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorAlex Deucher2015-11-12 02:35:32 +0100
committerAlex Deucher2015-12-21 22:42:32 +0100
commitcfd316d59e203985699495147a973ba058ff5478 (patch)
tree723014b7292515c07955d1b7908d4f7ea12e8d78 /drivers/gpu/drm/amd/include
parentdrm/amdgpu: store pcie gen mask and link width (diff)
downloadkernel-qcow2-linux-cfd316d59e203985699495147a973ba058ff5478.tar.gz
kernel-qcow2-linux-cfd316d59e203985699495147a973ba058ff5478.tar.xz
kernel-qcow2-linux-cfd316d59e203985699495147a973ba058ff5478.zip
drm/amdgpu/cgs: add sys info query for pcie gen and link width
Needed by powerplay to properly handle pcie dpm switching. Reviewed-by: Jammy Zhou <Jammy.Zhou@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h
index 2bbffd1191bd..03affb348f69 100644
--- a/drivers/gpu/drm/amd/include/cgs_common.h
+++ b/drivers/gpu/drm/amd/include/cgs_common.h
@@ -107,6 +107,8 @@ enum cgs_ucode_id {
enum cgs_system_info_id {
CGS_SYSTEM_INFO_ADAPTER_BDF_ID = 1,
+ CGS_SYSTEM_INFO_PCIE_GEN_INFO,
+ CGS_SYSTEM_INFO_PCIE_MLW,
CGS_SYSTEM_INFO_ID_MAXIMUM,
};