Re: [PATCH v5 5/6] drm/panel-edp: Match edp_panels with panel identity

2024-03-06 Thread Doug Anderson
Hi, On Wed, Mar 6, 2024 at 12:04 PM Hsin-Yi Wang wrote: > > @@ -2111,15 +2113,16 @@ static const struct edp_panel_entry edp_panels[] = { > { /* sentinal */ } > }; > > -static const struct edp_panel_entry *find_edp_panel(u32 panel_id) > +static const struct edp_panel_entry

[PATCH v5 5/6] drm/panel-edp: Match edp_panels with panel identity

2024-03-06 Thread Hsin-Yi Wang
It's found that some panels have variants that they share the same panel id although their EDID and names are different. When matching generic edp panels, we should first match with both panel identity, which contains both panel id and panel name. If not found, match with panel id only.