summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
diff options
context:
space:
mode:
authorJiansong Chen <Jiansong.Chen@amd.com>2020-07-02 17:35:08 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-07-15 12:47:25 -0400
commitcf4554fadafb9fa4d0758f7da600a2038ee7028a (patch)
tree399d78cbb882ec5d86fc908b52e8ea68d07f6972 /drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
parent40582e670feb27656ac0d95f0ff0b2bf2414d63e (diff)
drm/amdgpu: support athub cg setting for navy_flounder
navy_flounder has athub ip v2.1. Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@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.c1
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 0219bd6ce1b2..939eca63b094 100644
--- a/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
@@ -73,6 +73,7 @@ int athub_v2_1_set_clockgating(struct amdgpu_device *adev,
switch (adev->asic_type) {
case CHIP_SIENNA_CICHLID:
+ case CHIP_NAVY_FLOUNDER:
athub_v2_1_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
athub_v2_1_update_medium_grain_light_sleep(adev,