Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-06 Thread Hsin-Yi Wang
On Mon, Nov 6, 2023 at 8:21 AM Doug Anderson wrote: > > Hi, > > On Mon, Nov 6, 2023 at 12:06 AM Maxime Ripard wrote: > > > > On Thu, Nov 02, 2023 at 07:33:48AM -0700, Doug Anderson wrote: > > > Hi, > > > > > > On Wed, Nov 1, 2023 at 11:31 PM Dmitry Baryshkov > > > wrote: > > > > > > > > On Wed,

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-06 Thread Doug Anderson
Hi, On Mon, Nov 6, 2023 at 12:06 AM Maxime Ripard wrote: > > On Thu, Nov 02, 2023 at 07:33:48AM -0700, Doug Anderson wrote: > > Hi, > > > > On Wed, Nov 1, 2023 at 11:31 PM Dmitry Baryshkov > > wrote: > > > > > > On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang wrote: > > > > > > > > If a non generic

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-06 Thread Jani Nikula
On Mon, 06 Nov 2023, Maxime Ripard wrote: > On Thu, Nov 02, 2023 at 07:33:48AM -0700, Doug Anderson wrote: >> Hi, >> >> On Wed, Nov 1, 2023 at 11:31 PM Dmitry Baryshkov >> wrote: >> > >> > On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang wrote: >> > > >> > > If a non generic edp-panel is under

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-06 Thread Maxime Ripard
On Thu, Nov 02, 2023 at 07:33:48AM -0700, Doug Anderson wrote: > Hi, > > On Wed, Nov 1, 2023 at 11:31 PM Dmitry Baryshkov > wrote: > > > > On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang wrote: > > > > > > If a non generic edp-panel is under aux-bus, the mode read from edid would > > > still be

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-06 Thread Maxime Ripard
Hi, On Wed, Nov 01, 2023 at 02:20:11PM -0700, Hsin-Yi Wang 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

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-02 Thread Doug Anderson
Hi, On Wed, Nov 1, 2023 at 11:31 PM Dmitry Baryshkov wrote: > > On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang 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.

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-02 Thread Dmitry Baryshkov
On Wed, 1 Nov 2023 at 23:26, Hsin-Yi Wang 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

Re: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-01 Thread kernel test robot
://lore.kernel.org/r/20231101212604.1636517-4-hsinyi%40chromium.org patch subject: [PATCH 3/3] drm/panel-edp: Choose correct preferred mode config: arc-randconfig-001-20231102 (https://download.01.org/0day-ci/archive/20231102/202311021208.ekithlkq-...@intel.com/config) compiler: arceb-elf-gcc (GCC

[PATCH 3/3] drm/panel-edp: Choose correct preferred mode

2023-11-01 Thread Hsin-Yi Wang
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. Signed-off-by: Hsin-Yi Wang ---