]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: pass unlocked flag to params at amdgpu_vm_bo_update_mapping
authorAlex Sierra <alex.sierra@amd.com>
Fri, 10 Apr 2020 16:59:47 +0000 (11:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:30 +0000 (16:20 -0400)
Pass unlocked flag value to amdgpu_vm_update_params.unlocked
struct member at amdgpu_vm_bo_update_mapping.

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

index ed26688f49da1fae03e3e25e7941404f42015f47..414a0b1c2e5a87e942b8d0edb6878528fc322665 100644 (file)
@@ -1593,6 +1593,7 @@ static int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev,
        params.vm = vm;
        params.immediate = immediate;
        params.pages_addr = pages_addr;
+       params.unlocked = unlocked;
 
        /* Implicitly sync to command submissions in the same VM before
         * unmapping. Sync to moving fences before mapping.