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

Felix Kuehling felix.kuehling at amd.com
Tue Sep 5 21:26:38 UTC 2017


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


More information about the amd-gfx mailing list