summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2015-10-20 11:05:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 16:42:21 -0500
commitedb611c1e1e7647510185a3fcde5914f761afd75 (patch)
tree6c3e266825479cfcb6a5c6140337e7891ae75c33 /drivers/gpu/drm/amd/amdgpu
parent76c8cc6b3ba2186215322cf45d6547d66713bd7b (diff)
downloadlinux-edb611c1e1e7647510185a3fcde5914f761afd75.tar.gz
linux-edb611c1e1e7647510185a3fcde5914f761afd75.tar.bz2
linux-edb611c1e1e7647510185a3fcde5914f761afd75.zip
drm/amdgpu: enable powerplay module by default for fiji.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
index cbb00e29b56c..1ff6fd54df61 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
@@ -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)