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)
commit43c4d57618bef018eecd769c2805ce6f4e849a0d
tree242649a7e7e898ccfc9d70f0d64ce3ee9babfc85
parentcb7adfd6ad12a11902ebe374bec7fd4efa2cec1c
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