]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: sync the VM PD/PT before clearing it
authorChristian König <christian.koenig@amd.com>
Sun, 4 Feb 2018 18:36:52 +0000 (19:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:26 +0000 (14:19 -0500)
commitdbba5406da4826aef2446d5ba3a17b834dc4ec07
treea1c98bc7f78c3c96e760b006d6faa77b5af92d73
parent8a2e361201b9a5e0844ffbb8c3baedd2f3606be1
drm/amdgpu: sync the VM PD/PT before clearing it

Otherwise we might overwrite stuff which is still in use.

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