From: Alex Deucher Date: Mon, 21 Dec 2015 22:07:40 +0000 (-0500) Subject: amd/powerplay: disable powerplay by default initially X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53d8eabe3df36015daf40a7a9bfad9b2ffafc6bd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;