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

Doug Anderson dianders at chromium.org
Tue Nov 7 17:57:52 UTC 2023


Hi,

On Mon, Nov 6, 2023 at 4:00 PM Hsin-Yi Wang <hsinyi at chromium.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 both hard-coded mode and edid exists, only add mode from hard-coded.
>
> Signed-off-by: Hsin-Yi Wang <hsinyi at chromium.org>
> ---
> 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 at chromium.org>


More information about the dri-devel mailing list