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
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx