diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2019-05-30 11:57:20 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-13 17:11:03 -0500 |
commit | 4241863afce118b32cda623c1b0999af0cb42a11 (patch) | |
tree | 2b8a6fa3ba1b63273d049194e8e987858fddd5a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | |
parent | bebc076285458ca6caa3246aa9c13ac062e14835 (diff) | |
download | lwn-4241863afce118b32cda623c1b0999af0cb42a11.tar.gz lwn-4241863afce118b32cda623c1b0999af0cb42a11.zip |
drm/amdgpu/nbio: add functions to query ras specific interrupt status
ras_controller_interrupt and err_event_interrupt are ras specific interrupts.
add functions to check their status and ack them if they are generated. both
funcitons should only be invoked in ISR when BIF ring is disabled or even not
initialized.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h index 0563476b1242..28417e485c58 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h @@ -77,6 +77,8 @@ struct amdgpu_nbio_funcs { void (*init_registers)(struct amdgpu_device *adev); void (*detect_hw_virt)(struct amdgpu_device *adev); void (*remap_hdp_registers)(struct amdgpu_device *adev); + void (*handle_ras_controller_intr_no_bifring)(struct amdgpu_device *adev); + void (*handle_ras_err_event_athub_intr_no_bifring)(struct amdgpu_device *adev); }; struct amdgpu_nbio { |