Re: [PATCH libdrm] Synchronize drm/drm_fourcc.h with Linux’ version

Daniel Stone daniel at fooishbar.org
Wed Jan 27 03:42:09 PST 2016


Hey,

On 27 January 2016 at 09:38, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Tue, Jan 26, 2016 at 09:04:18PM +0000, Emil Velikov wrote:
>> On 11 January 2016 at 19:32, Emmanuel Gil Peyrot
>> <emmanuel.peyrot at collabora.com> wrote:
>> > This adds R8, RG88 and GR88, as well as the non-subsampled NV24/NV42 formats.
>> >
>> Err... please don't copy/paste 'random' hunks here. These headers
>> should be imported from the kernel with the commit message mentioning
>> the sha of their origin.
>>
>> I've been procrastinating^Wwaiting on some upstream changes to land
>> and with those in place I'll update the Makefile to import things
>> properly.
>
> Yeah, we should have some scripts in libdrm that runs make
> headers_install, copies over the latest generated uapi headers for drm and
> then creates a commit with the sha1 it was generated from. Maybe even a
> rule that the sha1 has to be from Dave's drm-next.

Yeah, it's certainly doable, once some kernel-internal details are
shuffled out of uapi/drm/drm_mode.h. Would be pretty nice to have too.

Cheers,
Daniel


More information about the dri-devel mailing list