aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
diff options
context:
space:
mode:
authorFlora Cui <[email protected]>2022-04-15 14:10:42 +0000
committerAlex Deucher <[email protected]>2022-05-05 20:51:30 +0000
commit446af531f51a8a0f777fe450d809dbe5abb9ed50 (patch)
treebf59b55daac105bbce0d2324123342c398c42cfe /drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
parentdrm/amdgpu/discovery: add soc21 support for GC 11.0.2 (diff)
downloadkernel-446af531f51a8a0f777fe450d809dbe5abb9ed50.tar.gz
kernel-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 <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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,