Commit b9a625d9 authored by Rex Zhu's avatar Rex Zhu Committed by Tim Gardner

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

BugLink: http://bugs.launchpad.net/bugs/1546572Signed-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>
(cherry picked from commit 76c8cc6b)
Signed-off-by: default avatarAlberto Milone <alberto.milone@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 672a5732
......@@ -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