]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: adjust register address calculation
authorStanley.Yang <Stanley.Yang@amd.com>
Fri, 11 Feb 2022 09:35:18 +0000 (17:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Feb 2022 21:19:59 +0000 (16:19 -0500)
commit8b7745f2cc0bc531fa09bff7773056563440996c
treefda96a60812fcd0c590fc1078ff333d8f1933b90
parent442930f8bafa31c9ea3dcdafae7f828a5bceb6ee
drm/amdgpu: adjust register address calculation

the UMC_STATUS register is not linear, adjust offset
calculation formula to get correct address

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v6_7.c