drm/amdkfd: Add flush-type parameter to kfd_flush_tlb
authorEric Huang <jinhuieric.huang@amd.com>
Tue, 1 Jun 2021 22:19:42 +0000 (18:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 16:40:00 +0000 (12:40 -0400)
commit3543b055b8c7a910847bc23fab816afbf04197e2
treef52db1c8cf0c6feffdbcd916a090176b2e54bd7d
parent32d6378cab2df64eea74e8758192d7ad7d0e1515
drm/amdkfd: Add flush-type parameter to kfd_flush_tlb

It is to provide more tlb flush types option for different
case scenario.

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
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c