[Intel-gfx] [PATCH v1 0/2] drm: drop uapi dependencies from include/drm

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 24 10:07:39 UTC 2019


On Mon, 24 Jun 2019 at 09:21, Daniel Vetter <daniel at ffwll.ch> wrote:

> > drm_legacy.h
> > - needs drm_map_type and drm_map_flags. Seems legit.
>
> enum in uapi, sweet (never do this, it's not portable across compilers,
> #defines all the way).

Don't look too closely then
$ git grep enum -- include/uapi/drm/ | wc -l
96

A handful of those are legacy stuff, yet quite a few are not :-\

HTH
-Emil


More information about the dri-devel mailing list