[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA8EJpoPMkQRhCD-9SPSheiio1dH8V6BUv89MZKfZdrBzsBW-w@mail.gmail.com>
Date: Thu, 2 Nov 2023 08:31:45 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Hsin-Yi Wang <hsinyi@...omium.org>
Cc: Douglas Anderson <dianders@...omium.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
linux-kernel@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
dri-devel@...ts.freedesktop.org,
Thomas Zimmermann <tzimmermann@...e.de>,
Jessica Zhang <quic_jesszhan@...cinc.com>,
Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode
On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang <hsinyi@...omium.org> wrote:
>
> If a non generic edp-panel is under aux-bus, the mode read from edid would
> still be selected as preferred and results in multiple preferred modes,
> which is ambiguous.
>
> If a hard-coded mode is present, unset the preferred bit of the modes read
> from edid.
Can we skip the EDID completely if the hardcoded override is present?
>
> Signed-off-by: Hsin-Yi Wang <hsinyi@...omium.org>
> ---
> drivers/gpu/drm/drm_modes.c | 16 ++++++++++++++++
> drivers/gpu/drm/panel/panel-edp.c | 7 +++++--
> include/drm/drm_modes.h | 1 +
> 3 files changed, 22 insertions(+), 2 deletions(-)
Anyway, this should be split into two patches. One for drm_modes.c,
another one for the panel driver.
--
With best wishes
Dmitry
Powered by blists - more mailing lists