]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/kfd: Correct pinned buffer handling at kfd restore and validate process
authorXiaogang Chen <xiaogang.chen@amd.com>
Tue, 14 May 2024 04:54:25 +0000 (23:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 May 2024 21:40:36 +0000 (17:40 -0400)
commitf326d7cc745683f53052b84382bd10567b45cd5d
tree03c798be384389890700a21b3ad505adf16471e0
parentb194d21b9bcc15b50df1bc3ff7428e51c2918a6f
drm/kfd: Correct pinned buffer handling at kfd restore and validate process

This reverts commit 8a774fe912ff ("drm/amdgpu: avoid restore process run into dead loop")
since buffer got pinned is not related whether it needs mapping
And skip buffer validation at kfd driver if the buffer has been pinned.

Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c