]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit7780f50358ee386de3b42ec236755fa72d97bb36
tree66af5a5dc8725f14c162107fa74814d9484f1548
parent4f64f1c8e1fdc7427819e81504a62e5bd7cab76f
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