Re: Why amdgpu pro does not work on kernel 4.10?

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

 



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 <christian.koenig@xxxxxxx>
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 <syeh@xxxxxxxxxx>
    Signed-off-by: Christian K?nig <christian.koenig@xxxxxxx>
    Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>

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

(Fixing the other issues should be equally easy)

Attachment: pgpf0rePkQFMk.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux