drm/amdkfd: Add memory sync before TLB flush on unmap
authorEric Huang <jinhuieric.huang@amd.com>
Thu, 10 Jun 2021 18:48:28 +0000 (14:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Jun 2021 20:03:40 +0000 (16:03 -0400)
commit3be4dca197010d1328df8b11febc8c40491be498
treea0d9baeb1017f9296fc4040509948ccfefb37d93
parenta3fbb0d8102a678486d958c8944400a7d7461090
drm/amdkfd: Add memory sync before TLB flush on unmap

It is to fix a failure for SDMA updating PTEs.

Signed-off-by: Eric Huang <jinhuieric.huang@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