]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e242f35066dc24bcca05f2e5900083edc855c09
treec5f8551532358632488f4d4c1506ad77b341bc19
parent3493cf3128be699e6bcf1dce8172da1b257e3623
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