Re: [PATCH v5 4/4] drm/panel-edp: Avoid adding multiple preferred modes

From: Doug Anderson
Date: Tue Nov 07 2023 - 12:58:15 EST


Hi,

On Mon, Nov 6, 2023 at 4:00 PM Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx> 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 both hard-coded mode and edid exists, only add mode from hard-coded.
>
> Signed-off-by: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
> ---
> v4->v5: remove inapplicable comments.
> ---
> drivers/gpu/drm/panel/panel-edp.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>