drm/amdkfd: Only apply heavy-weight TLB flush on Aldebaran
authorEric Huang <jinhuieric.huang@amd.com>
Wed, 14 Jul 2021 18:44:53 +0000 (14:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Aug 2021 21:21:25 +0000 (17:21 -0400)
commita50fe707803555f89ad878e3965445be0f70eb9f
tree38ead57a342ed7434fde68f45dd4bd472b3389fa
parent3cd293a78a58c7172b338fd41b7b7a052db64955
drm/amdkfd: Only apply heavy-weight TLB flush on Aldebaran

It is to workaround HW bug on other Asics and based on
reverting two commits back:
  drm/amdkfd: Add heavy-weight TLB flush after unmapping
  drm/amdkfd: Add memory sync before TLB flush on unmap

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