drm/amdgpu: enable BACO runpm by default on sienna cichlid and navy flounder
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Mar 2021 15:42:50 +0000 (10:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Mar 2021 04:05:16 +0000 (23:05 -0500)
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 <evan.quan@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c

index 3c37cf1ae8b7f13891e442b9a1fb8d4e6f2d1004..64beb33996042647143539bace349d026fbf90dc 100644 (file)
@@ -173,8 +173,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;