]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Check int source id for utcl2 poison event
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 20 Aug 2024 05:56:32 +0000 (13:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2024 14:52:33 +0000 (10:52 -0400)
commitdb6341a9168d2a24ded526277eeab29724d76e9d
tree12e26abc03ffecadb69ba1fbda2081afb158de84
parent88c511dea151b931ba4873119b1b3555aac0ce53
drm/amdkfd: Check int source id for utcl2 poison event

Traditional utcl2 fault_status polling does not
work in SRIOV environment. The polling of fault
status register from guest side will be dropped
by hardware.

Driver should switch to check utcl2 interrupt
source id to identify utcl2 poison event. It is
set to 1 when poisoned data interrupts are
signaled.

v2: drop the unused local variable (Tao)

Signed-off-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/amdkfd/kfd_int_process_v9.c
drivers/gpu/drm/amd/amdkfd/soc15_int.h