From 5001793d37e9284eb695afa6772877b1e454a32f Mon Sep 17 00:00:00 2001 From: Hawking Zhang Date: Wed, 24 May 2017 18:56:10 +0800 Subject: [PATCH] drm/amd/powerplay: set powerplay support cap on raven Signed-off-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.20.1