OSDN Git Service

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)
commit727ffdf2ac6d165f611b1accdf7f6ca770595aea
treebbc4600f81b5ca147fbd6e5186e726863343565f
parent6a83a553033d6c3d8fb4683a9c87833ace44121b
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