提交 76c8cc6b 编写于 作者: R Rex Zhu 提交者: Alex Deucher

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

Signed-off-by: NRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: NJammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册