]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Update queue unmap after VM fault with MES
authorMukul Joshi <mukul.joshi@amd.com>
Mon, 3 Jun 2024 15:57:50 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:13 +0000 (22:14 -0400)
commit9a16042f02cd08bbd0a5a2d8e9c95347717165a3
tree500d0c08ae8bd7f7a4268fa9d572cf4ea3a3f767
parentccf8ef6b7506cc43e7fd504a85465c1c0786a107
drm/amdkfd: Update queue unmap after VM fault with MES

MEC FW expects MES to unmap all queues when a VM fault is observed
on a queue and then resumed once the affected process is terminated.
Use the MES Suspend and Resume APIs to achieve this.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@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_device_queue_manager.c