aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-21 17:07:40 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 17:07:40 -0500
commit53d8eabe3df36015daf40a7a9bfad9b2ffafc6bd (patch)
tree251559703a1a46076560e4e2fb530da21f7c5505 /drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
parent45b0cf54bc5da284afc86fad97e1c8b1bbe26d73 (diff)
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)
101 switch (adev->asic_type) { 101 switch (adev->asic_type) {
102 case CHIP_TONGA: 102 case CHIP_TONGA:
103 case CHIP_FIJI: 103 case CHIP_FIJI:
104 adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true; 104 adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
105 break; 105 break;
106 default: 106 default:
107 adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false; 107 adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;