OSDN Git Service

drm/amdgpu: Add gfx cp ecc error irq handling on gfx v11_0_3
authorYiPeng Chai <YiPeng.Chai@amd.com>
Thu, 12 Jan 2023 02:43:47 +0000 (10:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 21:11:51 +0000 (16:11 -0500)
commit790bef488b4ac4ceb52f5cda2a67c0d9bbb56d8c
tree42cabe5e4c157a0844dae88ef1242a170264490d
parentae6f2db4d59e9f8c90cb3c2d2a954832898d0f2b
drm/amdgpu: Add gfx cp ecc error irq handling on gfx v11_0_3

V2:
  Optimize gfx_v11_0_set_cp_ecc_error_state function.

V3:
  Define macro constant for me pipe instance address interval.

V5:
  Register and handle gfx cp ecc error irq on gfx v11_0_3.

V6:
  Remove invalid intermediate function call.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c