On Mon, 13 Feb 2017 05:26:50 +0330, Ali Aminian said:
> Thank you for your response.
> It does not work means:
> 1_ I have downloaded amdgpu-pro driver from AMD website and installed it.

Complain to AMD then, because..

> 2_ I have compiled linux kernel 4.10 and 4.9 with oldconfig.

> error: too many arguments to function ‘ttm_bo_reserve’
>   return ttm_bo_reserve(bo, interruptible, no_wait, false, ticket);

However, include/drm/ttm/ttm_bo_driver.h has this definition:

static inline int __ttm_bo_reserve(struct ttm_buffer_object *bo,
                                   bool interruptible, bool no_wait,
                                   struct ww_acquire_ctx *ticket)
{


which means AMD is close to a year out of date with respect to upstream:

commit dfd5e50ea43ca4a89de061fb69618299760eb682
Author: Christian K?nig <[email protected]>
Date:   Wed Apr 6 11:12:03 2016 +0200

    drm/ttm: remove use_ticket parameter from ttm_bo_reserve

    Not used any more.

    Reviewed-by: Sinclair Yeh <[email protected]>
    Signed-off-by: Christian K?nig <[email protected]>
    Reviewed-by: Alex Deucher <[email protected]>
    Signed-off-by: Alex Deucher <[email protected]>

Or you can fix it yourself, I've provided enough hints already. :)

(Fixing the other issues should be equally easy)

Attachment: pgpwdXqVYPjqV.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to