drm/amdkfd: move kfd_flush_tlb_after_unmap into kfd_priv.h
authorLang Yu <Lang.Yu@amd.com>
Thu, 14 Apr 2022 07:16:25 +0000 (15:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Apr 2022 17:55:37 +0000 (13:55 -0400)
commit459ccca5f7ddffa0398b615162f55607dc443d08
treec98b55732adacecce0cf015adb9d4b1dafd3864c
parentd68cf992ded575928cf4ddf7c64faff0d8dcce14
drm/amdkfd: move kfd_flush_tlb_after_unmap into kfd_priv.h

To make kfd_flush_tlb_after_unmap visible in kfd_svm.c,
move it into kfd_priv.h. And change it to an inline function.

Signed-off-by: Lang Yu <Lang.Yu@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_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h