OSDN Git Service

drm/amdgpu: clear err_event_athub flag after reset exit
authorLe Ma <le.ma@amd.com>
Fri, 25 Oct 2019 09:19:38 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:26:11 +0000 (16:26 -0500)
commit00eaa57172a02edddbf445112409e807e0caacd9
tree84a3d113de36d8c33060fcffb9838487f8c44204
parentb823821f2244add19a71e7fe6c8f8550a29d672d
drm/amdgpu: clear err_event_athub flag after reset exit

Otherwise next err_event_athub error cannot call gpu reset. And following
resume sequence will not be affected by this flag.

v2: create function to clear amdgpu_ras_in_intr for modularity of ras driver

Signed-off-by: Le Ma <le.ma@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_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h