From: Rex Zhu Date: Fri, 21 Apr 2017 05:14:01 +0000 (+0800) Subject: drm/amd/powerplay: add new clock type in struct gfx_arbit. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96cda84a6762a8caa9aee9381022e28adb3ea1ef;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 35cb26fbb27b..3ac74e29cadb 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h @@ -136,11 +136,14 @@ struct phm_vce_arbiter { struct phm_gfx_arbiter { uint32_t sclk; + uint32_t sclk_hard_min; uint32_t mclk; uint32_t sclk_over_drive; uint32_t mclk_over_drive; uint32_t sclk_threshold; uint32_t num_cus; + uint32_t gfxclk; + uint32_t fclk; }; /* Entries in the master tables */