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

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

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>
上级 76c8cc6b
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册