[PATCH v2] amdgpu: sync amdgpu_drm.h with the kernel

Nath, Arindam Arindam.Nath at amd.com
Mon Jan 9 17:25:46 UTC 2017


>-----Original Message-----
>From: Emil Velikov [mailto:emil.l.velikov at gmail.com]
>Sent: Monday, January 09, 2017 10:51 PM
>To: Koenig, Christian
>Cc: Nath, Arindam; amd-gfx mailing list
>Subject: Re: [PATCH v2] amdgpu: sync amdgpu_drm.h with the kernel
>
>On 9 January 2017 at 16:44, Christian König <christian.koenig at amd.com>
>wrote:
>> Am 09.01.2017 um 17:39 schrieb Emil Velikov:
>>>
>>> On 9 January 2017 at 11:18, Arindam Nath <arindam.nath at amd.com>
>wrote:
>>>
>>>> v2:
>>>> * Generated using make headers_install.
>>>> * Generated from linux-stable/master commit
>>>>    a121103c922847ba5010819a3f250f1f7fc84ab8
>>>>
>>> The above is either wrong or you've done manual changes. Both of which
>>> are _not_ cool.
>>
>>
>> Well according to my git history that is:
>>
>> commit a121103c922847ba5010819a3f250f1f7fc84ab8
>> Author: Linus Torvalds <torvalds at linux-foundation.org>
>> Date:   Sun Jan 8 14:18:17 2017 -0800
>>
>>     Linux 4.10-rc3
>>
>>
>Yes that is the commit in question, yet "Generated using make
>headers_install" is a lie ;-)
>... or there there are manual changes.

Yes, that is correct. I have done manual changes for converting __u32/__u64 in kernel headers to uint32_t/uint64_t in libdrm headers. The types of variables in the kernel header are __u32/__u64.

Thanks,
Arindam

>
>Just do checkout && make headers_install && cp && git diff for the specifics.
>
>-Emil


More information about the amd-gfx mailing list