]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx10: Enable bad opcode interrupt
authorJesse Zhang <jesse.zhang@amd.com>
Fri, 12 Jul 2024 22:14:52 +0000 (18:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:45:45 +0000 (17:45 -0400)
commitbc6c2a6f6495668e3cf0acbecf820b93ca03aef7
treefd7dc41feb331156610fd7f63739f27b9720d3ea
parenta7909022371dc8c70bdc4871a97cc49e34d78a6d
drm/amdgpu/gfx10: 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.

v2: update irq naming (drop priv) (Alex)

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