]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: re-validate per VM BOs if required v2
authorChristian König <christian.koenig@amd.com>
Mon, 19 Mar 2018 10:49:14 +0000 (11:49 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:20 +0000 (13:43 -0500)
commit329727c2ae77a58ae7766cbc64a0f88950d21daf
tree4011c349367c3e27666089ceb61b7ed7ecfb6600
parent89dc7cc92ca8c6a09b971077f49e0645bfd176ca
drm/amdgpu: re-validate per VM BOs if required v2

If a per VM BO ends up in a allowed domain it never moves back into the
prefered domain.

v2: move the extra handling into amdgpu_vm_bo_update when we exit the
    state machine. Make memory type handling generic.

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