[PATCH] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard
Emil Velikov
emil.l.velikov at gmail.com
Wed Feb 3 10:08:54 UTC 2021
On Wed, 3 Feb 2021 at 09:27, Simon Ser <contact at emersion.fr> wrote:
>
> On Wednesday, February 3rd, 2021 at 1:56 AM, Emil Velikov emil.l.velikov at gmail.com wrote:
>
> > As summed in the commit message the burden is only applicable when all
> > of the following are set:
> > - non-linux
> > - force DRM_FOURCC_STANDALONE
> > - c99 -pedantic
>
> Oh, and FWIW, this is not a theoretical situation at all. All of these
> conditions happen to be true on my compositor. It has FreeBSD CI,
> -Werror, and will use DRM_FOURCC_STANDALONE when available.
There are ways to disable [1] or silence [2] this - are you
intentionally ignoring them?
Or the goal here is to 'fix' the kernel for a very uncommon non-linux use-case?
-Emil
[1] pragma GCC diagnostic warning "-Wpedantic"
[2] pragma GCC diagnostic ignored or -std=c11
More information about the dri-devel
mailing list