summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/cgs_common.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-06-07 20:15:24 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 15:06:20 -0400
commitd826c982d7ab512d37f808b17e9d83f60d4b0c6d (patch)
tree932ea35c7c9965844698ccf118f3c4df3acb60d6 /drivers/gpu/drm/amd/include/cgs_common.h
parent33b7ed0122e4da0d92d50cc226cd9db659834eaa (diff)
downloadop-kernel-dev-d826c982d7ab512d37f808b17e9d83f60d4b0c6d.zip
op-kernel-dev-d826c982d7ab512d37f808b17e9d83f60d4b0c6d.tar.gz
drm/amdgpu: get number of shade engine by cgs interface.
the num of shade engine was needed to measure the activity of the graphics core and to enable di/dt feature. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/cgs_common.h')
-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 f12c257..4ea7f3d 100644
--- a/drivers/gpu/drm/amd/include/cgs_common.h
+++ b/drivers/gpu/drm/amd/include/cgs_common.h
@@ -115,6 +115,7 @@ enum cgs_system_info_id {
CGS_SYSTEM_INFO_CG_FLAGS,
CGS_SYSTEM_INFO_PG_FLAGS,
CGS_SYSTEM_INFO_GFX_CU_INFO,
+ CGS_SYSTEM_INFO_GFX_SE_INFO,
CGS_SYSTEM_INFO_ID_MAXIMUM,
};
OpenPOWER on IntegriCloud