drm/amdkfd: refine event_interrupt_poison_consumption
authorTao Zhou <tao.zhou1@amd.com>
Tue, 15 Mar 2022 09:07:21 +0000 (17:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:25 +0000 (12:40 -0400)
commiteed41975307a365d1c0f6ed5c388b130ffdd2664
treec5f8551532358632488f4d4c1506ad77b341bc19
parentc5b266810c5105b6c115de6236247049c23502db
drm/amdkfd: refine event_interrupt_poison_consumption

Combine reading and setting poison flag as one atomic operation
and add print message for the function.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c