]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: do RAS MCA2PA conversion in device init phase
authorTao Zhou <tao.zhou1@amd.com>
Fri, 18 Oct 2024 06:49:00 +0000 (14:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:46 +0000 (10:26 -0500)
commit0eecff79e49f8ce5475e1b4d968f26263587be66
tree0f0376629742031a98e2a33708c262037b56c2f6
parent772df3df809a536c3e1b14db5a1dd74ae7baa102
drm/amdgpu: do RAS MCA2PA conversion in device init phase

NPS mode is introduced, the value of memory physical address (PA)
related to a MCA address varies per nps mode. We need to rely on
MCA address and convert it into PA accroding to nps mode.

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/amdgpu_ras.c