From: Rex Zhu Date: Sat, 24 Jun 2017 10:11:53 +0000 (+0800) Subject: drm/amd/powerplay: add acg support in pptable for vega10 X-Git-Tag: v5.15~10394^2~44^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc3a4fc6317a807002d4f3b6a8af50983feb98cd;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/powerplay: add acg support in pptable for vega10 Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h b/drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h index 532186b..f6d6c61 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h +++ b/drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h @@ -312,7 +312,10 @@ typedef struct { PllSetting_t GfxBoostState; - uint32_t Reserved[14]; + uint8_t AcgEnable[NUM_GFXCLK_DPM_LEVELS]; + GbVdroopTable_t AcgBtcGbVdroopTable; + QuadraticInt_t AcgAvfsGb; + uint32_t Reserved[4]; /* Padding - ignore */ uint32_t MmHubPadding[7]; /* SMU internal use */