]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b261aab511cd28ccfa5351d7bd23ee7532e6cef
tree9a9ca0d4384d29c5acb3a302f62d96a343f0e278
parent2b841668870066ea8a01c78fde612f447b1d033f
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