]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add ATHUB IP v3.0.1 Clock Gating support
authorTim Huang <tim.huang@amd.com>
Tue, 9 Aug 2022 08:26:05 +0000 (16:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:06:00 +0000 (18:06 -0400)
commitdb2db7b3b3397f23d5bcdc74b00e7bfa2b6a3677
tree42ab3eaa29d1426b936d027b3a35e0c38f87d3af
parent42ee794c7494dcedeec4b24f3549d0a72685f2cf
drm/amdgpu: add ATHUB IP v3.0.1 Clock Gating support

Add ATHUB IP v3.0.1 in athub_v3_0_set_clockgating.

The regATHUB_MISC_CNTL has different offset for ATHUB IP v3.0.1,
so need to add IP version checking to use the right REG offset.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c