Commit edb611c1 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

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

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