Commit 76c8cc6b authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

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

Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bbb207f3
......@@ -96,6 +96,14 @@ static int amdgpu_pp_early_init(void *handle)
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
int ret = 0;
switch (adev->asic_type) {
case CHIP_TONGA:
amdgpu_powerplay = 1;
break;
default:
break;
}
ret = amdgpu_powerplay_init(adev);
if (ret)
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment