drm/amdgpu/gfx9: Enable bad opcode interrupt
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Jul 2024 22:50:26 +0000 (18:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:45:46 +0000 (17:45 -0400)
commit238352b4949bc5c724f6adc1c78d50f1d15e4759
tree3dc5c0c1da7ec8add9d15d1034b7a9d2cd27d943
parent5ebca62eb8ebff67e2c8c4903bdb4f3c07922114
drm/amdgpu/gfx9: Enable bad opcode interrupt

For the bad opcode case, it will cause CP/ME hang.
The firmware will prevent the ME side from hanging by raising a bad opcode interrupt.
And the driver needs to perform a vmid reset when receiving the interrupt.

Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c