Browse Source

drm/amd/powerplay: set powerplay support cap on raven

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Hawking Zhang 8 years ago
parent
commit
5001793d37
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c

+ 3 - 0
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);