summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-22 01:07:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-12-22 01:07:40 +0300
commit53d8eabe3df36015daf40a7a9bfad9b2ffafc6bd (patch)
tree251559703a1a46076560e4e2fb530da21f7c5505 /drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
parent45b0cf54bc5da284afc86fad97e1c8b1bbe26d73 (diff)
downloadlinux-53d8eabe3df36015daf40a7a9bfad9b2ffafc6bd.tar.xz
amd/powerplay: disable powerplay by default initially
Hopefully we can enable this by default once we get more upstream feedback on stability, etc. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
index ddb90ebd0e7c..5ee9a0690278 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
@@ -101,7 +101,7 @@ static int amdgpu_pp_early_init(void *handle)
switch (adev->asic_type) {
case CHIP_TONGA:
case CHIP_FIJI:
- adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
+ adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
break;
default:
adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;