From: Alex Deucher Date: Mon, 1 Mar 2021 15:42:50 +0000 (-0500) Subject: drm/amdgpu: enable BACO runpm by default on sienna cichlid and navy flounder X-Git-Tag: v5.13-rc1~123^2~12^2~330 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03e0dbcd10c4b3f5bb99804b19bb4b9a2d1af394;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: enable BACO runpm by default on sienna cichlid and navy flounder It works fine and was only disabled because primary GPUs don't enter runpm if there is a console bound to the fbdev due to the kmap. This will at least allow runpm on secondary cards. Reviewed-by: Evan Quan Reviewed-by: Rajneesh Bhardwaj Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index c6256d755ddda..f4880178476f5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -172,8 +172,6 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags) switch (adev->asic_type) { case CHIP_VEGA20: case CHIP_ARCTURUS: - case CHIP_SIENNA_CICHLID: - case CHIP_NAVY_FLOUNDER: /* enable runpm if runpm=1 */ if (amdgpu_runtime_pm > 0) adev->runpm = true;