diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2021-03-19 14:15:28 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:41:19 -0400 |
commit | d75caec8a4540b66c4521a1e4cd7e0e8e65291fe (patch) | |
tree | d1b2ea35b0993a664e3729945550abc0e4e54498 /drivers/gpu/drm/amd/amdgpu/athub_v2_1.c | |
parent | bc6bd46bc370a6c05f63afcf8e028bf82d172faa (diff) | |
download | linux-d75caec8a4540b66c4521a1e4cd7e0e8e65291fe.tar.gz linux-d75caec8a4540b66c4521a1e4cd7e0e8e65291fe.tar.bz2 linux-d75caec8a4540b66c4521a1e4cd7e0e8e65291fe.zip |
drm/amdgpu: support athub cg setting for beige_goby
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/athub_v2_1.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/athub_v2_1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c b/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c index 2ac4988ea0ff..c12c2900732b 100644 --- a/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c +++ b/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c @@ -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; |