drm/amdkfd: inc counter on child ranges with xnack off
authorAlex Sierra <alex.sierra@amd.com>
Tue, 29 Jun 2021 16:40:47 +0000 (11:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:40 +0000 (00:05 -0400)
commit9e4a91cd9ea9b9d6218f6c64c57c5ff412de919f
tree9a9ca0d4384d29c5acb3a302f62d96a343f0e278
parent1d40ef902d4c82f830ba2ee5fd389b33a5374675
drm/amdkfd: inc counter on child ranges with xnack off

During GPU page table invalidation with xnack off, new ranges
split may occur concurrently in the same prange. Creating a new
child per split. Each child should also increment its
invalid counter, to assure GPU page table updates in these
ranges.

Signed-off-by: Alex Sierra <alex.sierra@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