]> www.infradead.org Git - users/dwmw2/linux.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)
commit1915a433954262ac7466469d1a4684ac54218af4
treefda96a60812fcd0c590fc1078ff333d8f1933b90
parentf3986e86b2d861a2ed2d336bafe53b5c404cb995
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