]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: update algorithm of umc address conversion
authorTao Zhou <tao.zhou1@amd.com>
Wed, 19 Jan 2022 09:00:09 +0000 (17:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jan 2022 20:49:08 +0000 (15:49 -0500)
commit7d8f81c1f23c66816eaa8366a072ecdd35fa092e
tree50572f86bfbb3140771c3f255b38cb5d2472257e
parent2b8faf26d5aa0021adf2595d34406a5faaa0f7ea
drm/amdgpu: update algorithm of umc address conversion

On ALDEBARAN, we need to traverse all column bits higher than
BIT11(C4C3C2) in a row, the shift of R14 bit should be also taken
into account. Retire all pages we find.

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