From: Flora Cui Date: Fri, 15 Apr 2022 14:10:42 +0000 (-0400) Subject: drm/amdgpu: add support for ATHUB 3.0.2 X-Git-Tag: v6.6.17~7356^2~7^2~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=446af531f51a8a0f777fe450d809dbe5abb9ed50;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu: add support for ATHUB 3.0.2 Add support 3.0.2 to the ATHUB 3.0 code. Reviewed-by: Hawking Zhang Signed-off-by: Flora Cui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c index eda07cf..33a8a73 100644 --- a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c @@ -70,6 +70,7 @@ int athub_v3_0_set_clockgating(struct amdgpu_device *adev, switch (adev->ip_versions[ATHUB_HWIP][0]) { case IP_VERSION(3, 0, 0): + case IP_VERSION(3, 0, 2): athub_v3_0_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE); athub_v3_0_update_medium_grain_light_sleep(adev,