]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx11: Enable bad opcode interrupt
authorJesse Zhang <jesse.zhang@amd.com>
Thu, 11 Jul 2024 02:38:03 +0000 (10:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:45:45 +0000 (17:45 -0400)
commita7909022371dc8c70bdc4871a97cc49e34d78a6d
treeb0f773158f32e61d82964b6471a959b7b8bd5544
parentacddd5cf70e609e1e1e638ac0422977ea2b4783f
drm/amdgpu/gfx11: 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>
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c