]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: set bulk_moveable to false when a per VM is released
authorChristian König <christian.koenig@amd.com>
Wed, 5 Sep 2018 15:04:44 +0000 (17:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:45:32 +0000 (22:45 -0500)
commitc77a6af9ec6b3b8ad73cd11c4ebe23ca50df4ba6
tree428d66aabda74770fef30cb9a926802c7c50d0b2
parent7648e4f3fb3a2a922d3f425f6702ac462d112feb
drm/amdgpu: set bulk_moveable to false when a per VM is released

Otherwise we might run into a use after free during bulk move.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c