[PATCH libdrm 1/3] xf86drm: dedupe `#define`s

Emil Velikov emil.l.velikov at gmail.com
Tue Feb 19 11:46:36 UTC 2019


On Mon, 18 Feb 2019 at 17:10, Eric Engestrom <eric.engestrom at intel.com> wrote:
>
> On Wednesday, 2018-12-19 17:08:01 +0000, Eric Engestrom wrote:
> > Adapted from a local patch carried by DragonFlyBSD:
> > https://github.com/DragonFlyBSD/DPorts/blob/bc056f88f7e4d468d8c9751f831a47b5ae1326e3/graphics/libdrm/files/patch-xf86drm.h
> >
> > Patch is sadly uncredited (a bot authored the commit), so I can't credit
> > the author here either.
> >
> > Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
>
> Ping? :)
>
Thanks - saw this before but if fell through the cracks.

> > ---
> >  xf86drm.c | 10 ----------
> >  xf86drm.h | 16 ++++++++++------
> >  2 files changed, 10 insertions(+), 16 deletions(-)
> >
This adds more API for not so obvious reasons. I've got a series that
resolves this by folding the duplicated code into a few trivial
helpers.
Let me see if I can pull then out from the larger series and send them out.

Emil


More information about the dri-devel mailing list