[PATCH 15/20] drm/amd/powerplay: add pp_table_version in hwmgr.

Rex Zhu Rex.Zhu at amd.com
Fri Sep 9 13:39:33 UTC 2016


Change-Id: Iee3c7ab9c1318ec7206bf5a5ae59d8c48b8e823b
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

Conflicts:
	drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
---
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
index 8916b94..909f854 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
@@ -599,6 +599,13 @@ enum PP_VCE_LEVEL {
 };
 
 
+enum PP_TABLE_VERSION {
+	PP_TABLE_V0 = 0,
+	PP_TABLE_V1,
+	PP_TABLE_V2,
+	PP_TABLE_MAX
+};
+
 /**
  * The main hardware manager structure.
  */
@@ -606,6 +613,7 @@ struct pp_hwmgr {
 	uint32_t chip_family;
 	uint32_t chip_id;
 
+	uint32_t pp_table_version;
 	void *device;
 	struct pp_smumgr *smumgr;
 	const void *soft_pp_table;
-- 
1.9.1



More information about the amd-gfx mailing list