]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: support athub cg setting for beige_goby
authorTao Zhou <tao.zhou1@amd.com>
Fri, 19 Mar 2021 06:15:28 +0000 (14:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:41:19 +0000 (22:41 -0400)
Enable athub cg for beige_goby.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/athub_v2_1.c

index 2ac4988ea0ffbd4e9504a58704241e856fa31d28..c12c2900732be54db9651697803186d716b7ceeb 100644 (file)
@@ -74,6 +74,7 @@ int athub_v2_1_set_clockgating(struct amdgpu_device *adev,
        case CHIP_SIENNA_CICHLID:
        case CHIP_NAVY_FLOUNDER:
        case CHIP_DIMGREY_CAVEFISH:
+       case CHIP_BEIGE_GOBY:
                athub_v2_1_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE);
                athub_v2_1_update_medium_grain_light_sleep(adev, state == AMD_CG_STATE_GATE);
                break;