]> Git Repo - linux.git/commit
drm/panel-edp: Avoid adding multiple preferred modes
authorHsin-Yi Wang <[email protected]>
Fri, 17 Nov 2023 21:46:34 +0000 (13:46 -0800)
committerDouglas Anderson <[email protected]>
Tue, 28 Nov 2023 22:35:41 +0000 (14:35 -0800)
commitfb3f43d50d9b22946702085d1fa2139c8741283d
treeb6e099c7edbb25ba727af9102375e7cb302b659e
parent70e0d5550f5cec301ad116703b840a539fe985dc
drm/panel-edp: Avoid adding multiple preferred modes

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 <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/panel/panel-edp.c
This page took 0.058232 seconds and 4 git commands to generate.