]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: protect RAS sysfs during GPU reset
authorJohn Clements <john.clements@amd.com>
Thu, 19 Mar 2020 06:41:55 +0000 (14:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Mar 2020 14:45:00 +0000 (10:45 -0400)
commit64941dda6b02b579bf4e77995c89f9cc409c5efd
tree242649a7e7e898ccfc9d70f0d64ce3ee9babfc85
parent8289fa5621f2b6c9dd9263f6587b67dc49aef41b
drm/amdgpu: protect RAS sysfs during GPU reset

MMHub EDC becomes dirty after BACO reset

EDC registers should be cleared early on in reset phase

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c