فهرست منبع

drm/amd/powerplay: add new clock type in struct gfx_arbit.

Add the new clock type to the gfx arbitor so we can determine
the proper clock floors for it.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Rex Zhu 8 سال پیش
والد
کامیت
96cda84a67
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      drivers/gpu/drm/amd/powerplay/inc/hwmgr.h

+ 3 - 0
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h

@@ -136,11 +136,14 @@ struct phm_vce_arbiter {
 
 
 struct phm_gfx_arbiter {
 struct phm_gfx_arbiter {
 	uint32_t sclk;
 	uint32_t sclk;
+	uint32_t sclk_hard_min;
 	uint32_t mclk;
 	uint32_t mclk;
 	uint32_t sclk_over_drive;
 	uint32_t sclk_over_drive;
 	uint32_t mclk_over_drive;
 	uint32_t mclk_over_drive;
 	uint32_t sclk_threshold;
 	uint32_t sclk_threshold;
 	uint32_t num_cus;
 	uint32_t num_cus;
+	uint32_t gfxclk;
+	uint32_t fclk;
 };
 };
 
 
 /* Entries in the master tables */
 /* Entries in the master tables */