Skip to content

Commit

Permalink
drm/amdgpu: pass unlocked flag to params at amdgpu_vm_bo_update_mapping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Sierra authored and Alex Deucher committed Apr 28, 2020
1 parent 9c466bc commit 5654b89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5654b89

Please sign in to comment.