]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: sync to KFD fences before clearing PTEs
authorChristian König <christian.koenig@amd.com>
Wed, 21 Aug 2024 11:55:41 +0000 (13:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Sep 2024 16:55:44 +0000 (12:55 -0400)
commit126be9b2bef9c7068fdd464790d82e6d70f9d8e6
treebec6389afde2af3dfe1237aa1079582fdddf79d8
parent4771d2ecb7b9e4c2c73ede2908d7e7c989460981
drm/amdgpu: sync to KFD fences before clearing PTEs

This patch tries to solve the basic problem we also need to sync to
the KFD fences of the BO because otherwise it can be that we clear
PTEs while the KFD queues are still running.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c