]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
amd/powerplay: disable powerplay by default initially
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 22:07:40 +0000 (17:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 22:07:40 +0000 (17:07 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c

index ddb90ebd0e7c66c3fd67aac3d9b549ddea95759d..5ee9a069027885989f8aad55e9340e1a9d3424ea 100644 (file)
@@ -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;