diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c index ddb90ebd0e7c66c3fd67aac3d9b549ddea95759d..5ee9a069027885989f8aad55e9340e1a9d3424ea 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;