]> 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)
commitecc0cdf2e052fc2b06bf04115210d34a7dfb88d3
tree42ab3eaa29d1426b936d027b3a35e0c38f87d3af
parent1158e38b913817afbce2eba86d59542b1466a2d4
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