1
0
Fork 0

drm/amdgpu: enable powerplay module by default for fiji.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
hifive-unleashed-5.1
Rex Zhu 2015-10-20 11:05:45 +08:00 committed by Alex Deucher
parent 76c8cc6b3b
commit edb611c1e1
1 changed files with 3 additions and 0 deletions

View File

@ -96,13 +96,16 @@ static int amdgpu_pp_early_init(void *handle)
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
int ret = 0;
#ifdef CONFIG_DRM_AMD_POWERPLAY
switch (adev->asic_type) {
case CHIP_TONGA:
case CHIP_FIJI:
amdgpu_powerplay = 1;
break;
default:
break;
}
#endif
ret = amdgpu_powerplay_init(adev);
if (ret)