[PATCH 5/6] drm/amdgpu: stop reserving the BO in the MMU callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-09-05 11:37 AM, Christian König wrote:
> +struct amdgpu_mn *amdgpu_mn_get(struct amdgpu_device *adev) { return NULL; }
>  static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr)
>  {
>  	return -ENODEV;
>  }
>  static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {}
> +void amdgpu_mn_lock(struct amdgpu_mn *mn) {}
> +void amdgpu_mn_unlock(struct amdgpu_mn *mn) {}
The added dummy unctions here should be static inline.

Regards,
  Felix


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux