drm/amdkfd: add reset queue function for RAS poison (v2)
authorTao Zhou <tao.zhou1@amd.com>
Thu, 16 Dec 2021 06:34:10 +0000 (14:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:02:47 +0000 (16:02 -0500)
commitdec63443380cf2ce6bc41258159cda4165fa4279
treecaeb7c802eb21e229085d635f597cdf4afba94de
parentf6b80c04aabb4fdd18ed8fcbaa5efef64e5d0b36
drm/amdkfd: add reset queue function for RAS poison (v2)

The new interface unmaps queues with reset mode for the process consumes
RAS poison, it's only for compute queue.

v2: rename the function to reset_queues.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-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
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h