]> 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)
commit361e8203beec452137290ad8615d283fa336df9f
tree9a9ca0d4384d29c5acb3a302f62d96a343f0e278
parentd0f01102d4144b0a258306b5d0bfeb0f25751b55
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