aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
diff options
context:
space:
mode:
authorFlora Cui <flora.cui@amd.com>2022-04-15 10:10:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 16:51:30 -0400
commit446af531f51a8a0f777fe450d809dbe5abb9ed50 (patch)
treebf59b55daac105bbce0d2324123342c398c42cfe /drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
parentdrm/amdgpu/discovery: add soc21 support for GC 11.0.2 (diff)
downloadlinux-dev-446af531f51a8a0f777fe450d809dbe5abb9ed50.tar.xz
linux-dev-446af531f51a8a0f777fe450d809dbe5abb9ed50.zip
drm/amdgpu: add support for ATHUB 3.0.2
Add support 3.0.2 to the ATHUB 3.0 code. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Flora Cui <flora.cui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/athub_v3_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/athub_v3_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
index eda07cfe92bb..33a8a7365aef 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,