drm/amdkfd: optimize svm range evict
authorEric Huang <jinhuieric.huang@amd.com>
Thu, 30 Jun 2022 18:49:39 +0000 (14:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2022 19:55:10 +0000 (15:55 -0400)
commitf72fc9bd226979c272d6f829a3c60c3d9e8dc969
tree3fbe7855b5988e49df59ac9b3acdb6e462061bf9
parent1f374171fd345aaad9fcb30ac3acd255b5cd2076
drm/amdkfd: optimize svm range evict

It is to avoid unnecessary queue eviction when range
is not mapped to gpu.

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_svm.c