Re: [PATCH 3/4] drm/amdgpu: further optimize amdgpu_vm_validate_pt_bos

2018-04-19 Thread Christian König
Please ignore this one, it doesn't work correctly. Validating a BO can put it back on the moved list. Christian. Am 19.04.2018 um 11:29 schrieb Christian König: Put all moved BOs on a temporary list and splice that one to the moved list when we are done. Saves us taking and releasing the

[PATCH 3/4] drm/amdgpu: further optimize amdgpu_vm_validate_pt_bos

2018-04-19 Thread Christian König
Put all moved BOs on a temporary list and splice that one to the moved list when we are done. Saves us taking and releasing the moved lock multiple times. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 34 --