]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix VM faults with per VM BOs
authorChristian König <christian.koenig@amd.com>
Fri, 22 Dec 2017 16:13:03 +0000 (17:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:34:31 +0000 (11:34 -0500)
commit09179c2175287bba7a727cd740e3a16a02eb4cec
treebbc4600f81b5ca147fbd6e5186e726863343565f
parent5fe363a134ba51427479cb25488de3fe339bf430
drm/amdgpu: fix VM faults with per VM BOs

There was a small window between unreserve and second reserve where the
freshly allocated BO could have been evicted without the VM noticing it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c