Re: [PATCH v5 00/15] eDP: Support probing eDP panels dynamically instead of hardcoding
From: Doug Anderson
Date: Fri Sep 24 2021 - 09:59:56 EST
Hi,
On Fri, Sep 24, 2021 at 2:10 AM Andrzej Hajda <a.hajda@xxxxxxxxxxx> wrote:
>
> Hi
>
> removed most cc, due to server limitation
>
>
> W dniu 24.09.2021 o 10:03, Jani Nikula pisze:
> > On Mon, 20 Sep 2021, Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
> >> Pushed all 15 to drm-misc-next.
> > ...
> >> e8de4d55c259 drm/edid: Use new encoded panel id style for quirks matching
> >> d9f91a10c3e8 drm/edid: Allow querying/working with the panel ID from
> >> the EDID
> > Hi Doug, Stan's reporting "initializer element is not constant" issues
> > here that were discussed before [1]. I wonder what gives, you said you'd
> > hit them on a draft version, but not with what was merged, and I can't
> > reproduce this either. Curious.
>
>
> Apparently this is grey area of unclear specification.
>
> gcc version below 8 reports error, above 8.1+ should work [1]. I am not
> sure if there is nice workaround for older gcc.
>
>
> [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960#c18
So I think the only solution is to go back to the character-at-a-time
version. It's slightly uglier but functionality trumps form.
I'll post something today though it might need to wait a few hours
before I can manage it.
-Doug