[PATCH] drm/amdgpu: remove unused parameter for va update

Christian König ckoenig.leichtzumerken at gmail.com
Tue Jun 12 07:02:11 UTC 2018


Am 12.06.2018 um 08:38 schrieb zhoucm1:
>
>
>
> On 2018年06月12日 14:01, Junwei Zhang wrote:
>> Don't need validation list any more
>>
>> Signed-off-by: Junwei Zhang<Jerry.Zhang at amd.com>
> Reviewed-by: Chunming Zhou <david1.zhou at amd.com>

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

>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 +---
>>   1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
>> index 5fb156a..eff716d 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
>> @@ -510,7 +510,6 @@ int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
>>    * @adev: amdgpu_device pointer
>>    * @vm: vm to update
>>    * @bo_va: bo_va to update
>> - * @list: validation list
>>    * @operation: map, unmap or clear
>>    *
>>    * Update the bo_va directly after setting its address. Errors are not
>> @@ -519,7 +518,6 @@ int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
>>   static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
>>   				    struct amdgpu_vm *vm,
>>   				    struct amdgpu_bo_va *bo_va,
>> -				    struct list_head *list,
>>   				    uint32_t operation)
>>   {
>>   	int r;
>> @@ -673,7 +671,7 @@ int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,
>>   		break;
>>   	}
>>   	if (!r && !(args->flags & AMDGPU_VM_DELAY_UPDATE) && !amdgpu_vm_debug)
>> -		amdgpu_gem_va_update_vm(adev, &fpriv->vm, bo_va, &list,
>> +		amdgpu_gem_va_update_vm(adev, &fpriv->vm, bo_va,
>>   					args->operation);
>>   
>>   error_backoff:
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180612/080ca634/attachment.html>


More information about the amd-gfx mailing list