From: Hawking Zhang Date: Wed, 24 May 2017 10:56:10 +0000 (+0800) Subject: drm/amd/powerplay: set powerplay support cap on raven X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5001793d37e9284eb695afa6772877b1e454a32f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amd/powerplay: set powerplay support cap on raven Signed-off-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c index 6155abead46c..9b431511d274 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c @@ -554,6 +554,9 @@ static int rv_hwmgr_backend_init(struct pp_hwmgr *hwmgr) return result; } + phm_cap_set(hwmgr->platform_descriptor.platformCaps, + PHM_PlatformCaps_PowerPlaySupport); + rv_populate_clock_table(hwmgr); result = rv_get_system_info_data(hwmgr);