drm/amdgpu: Add plumbing for handling SQ EDC/ECC interrupts v2.
authorDavid Panariti <David.Panariti@amd.com>
Tue, 22 May 2018 18:25:49 +0000 (14:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:41 +0000 (12:20 -0500)
commit04ad26bbc41edea0529aed9a92e146e46b6efe5e
tree303612fbc0ffe422aa94b21abb1b60eb25fa03b3
parent981658c67a97591ce03b5b94f7be9f5f92720e8d
drm/amdgpu: Add plumbing for handling SQ EDC/ECC interrupts v2.

SQ can generate interrupts and installs the ISR to
handle the SQ interrupts.

Add parsing SQ data in interrupt handler.

v2:
Remove CZ only limitation.
Rebase.

Signed-off-by: David Panariti <David.Panariti@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c