]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add function to clear MMEA error status for aldebaran
authorDennis Li <Dennis.Li@amd.com>
Mon, 10 May 2021 11:08:11 +0000 (19:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:11:44 +0000 (18:11 -0400)
commit65f851e8fd0588a32f595b1d8521ba2f37a21e6c
tree66af5a5dc8725f14c162107fa74814d9484f1548
parent56a8736e740dfc970d5014d67e8172a36cc9a3b1
drm/amdgpu: add function to clear MMEA error status for aldebaran

For aldebaran, hardware will not clear error status automatically when
reading error status register, insteadly driver should set clear bit of
the error status register explicitly to clear error status.

Signed-off-by: Dennis Li <Dennis.Li@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_mmhub.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c