summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
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
parent40582e670feb27656ac0d95f0ff0b2bf2414d63e (diff)
downloadlinux-stable-cf4554fadafb9fa4d0758f7da600a2038ee7028a.tar.gz
linux-stable-cf4554fadafb9fa4d0758f7da600a2038ee7028a.tar.bz2
linux-stable-cf4554fadafb9fa4d0758f7da600a2038ee7028a.zip
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')
-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,