diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-02-05 10:34:28 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-08 10:37:46 -0500 |
commit | 08d334087617ed9662d40db776c5d2c0a614315a (patch) | |
tree | b2ad14cd4d264afe1e66958f074bda609cf99d9d /drivers/gpu/drm/amd/include | |
parent | f997e6f21308f0627c46caed0315ee005ef4775a (diff) | |
download | op-kernel-dev-08d334087617ed9662d40db776c5d2c0a614315a.zip op-kernel-dev-08d334087617ed9662d40db776c5d2c0a614315a.tar.gz |
drm/amdgpu: add a cgs interface to fetch cg and pg flags
Needed to pass the cg and pg info to powerplay.
Reviewed-by: Eric Huang <JinHuiEric.Huang@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 713aec9..aec38fc 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h @@ -109,6 +109,8 @@ 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_CG_FLAGS, + CGS_SYSTEM_INFO_PG_FLAGS, CGS_SYSTEM_INFO_ID_MAXIMUM, }; |