[PATCH] drm/amdgpu: pass unlocked flag to params at amdgpu_vm_bo_update_mapping

Christian König ckoenig.leichtzumerken at gmail.com
Sat Apr 11 09:50:30 UTC 2020


Am 10.04.20 um 19:28 schrieb Alex Sierra:
> Pass unlocked flag value to amdgpu_vm_update_params.unlocked
> struct member at amdgpu_vm_bo_update_mapping.
>
> Signed-off-by: Alex Sierra <alex.sierra at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index 4ca4f61b34ca..accbb34ea670 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -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.



More information about the amd-gfx mailing list