diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-11-12 02:35:32 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-21 22:42:32 +0100 |
commit | cfd316d59e203985699495147a973ba058ff5478 (patch) | |
tree | 723014b7292515c07955d1b7908d4f7ea12e8d78 /drivers/gpu/drm/amd/include | |
parent | drm/amdgpu: store pcie gen mask and link width (diff) | |
download | linux-cfd316d59e203985699495147a973ba058ff5478.tar.xz 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.h | 2 |
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, }; |