From: Kenneth Feng Date: Wed, 4 Apr 2018 07:17:22 +0000 (+0800) Subject: drm/amd/powerplay: Get more than 8 level gfxclk states X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=564be2fc2b1ddb6cbef2bd77f83e91c9e4a1063f;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: Get more than 8 level gfxclk states To apply on Vega12 for more than 8 gfx dpm levels Signed-off-by: Kenneth Feng Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h index bc98b1df3b65..e81ded1ec198 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h @@ -33,7 +33,7 @@ #define WaterMarksExist 1 #define WaterMarksLoaded 2 -#define VG12_PSUEDO_NUM_GFXCLK_DPM_LEVELS 8 +#define VG12_PSUEDO_NUM_GFXCLK_DPM_LEVELS 16 #define VG12_PSUEDO_NUM_SOCCLK_DPM_LEVELS 8 #define VG12_PSUEDO_NUM_DCEFCLK_DPM_LEVELS 8 #define VG12_PSUEDO_NUM_UCLK_DPM_LEVELS 4