Hi, On Fri, Jun 11, 2021 at 10:18 AM Douglas Anderson <dianders@xxxxxxxxxxxx> wrote: > > The primary goal of this series is to try to properly fix EDID reading > for eDP panels using the ti-sn65dsi86 bridge. > > Previously we had a patch that added EDID reading but it turned out > not to work at bootup. This caused some extra churn at bootup as we > tried (and failed) to read the EDID several times and also ended up > forcing us to use the hardcoded mode at boot. With this patch series I > believe EDID reading is reliable at boot now and we never use the > hardcoded mode. > > High level note: in this series the EDID reading is driven by the > panel driver, not by the bridge chip driver. I believe this makes a > reasonable amount of sense since the panel driver already _could_ > drive reading the EDID if provided with the DDC bus and in future > planned work we'll want to give the panel driver the DDC bus (to make > decisions based on EDID) and the AUX bus (to control the > backlight). There are also planned patches from Laurent to make > ti-sn65dsi86 able to drive full DP monitors. In that case the bridge > chip will still be in charge of reading the EDID, but it's not hard to > make this dynamic. > > This series is the logical successor to the 3-part series containing > the patch ("drm/bridge: ti-sn65dsi86: Properly get the EDID, but only > if refclk") [1]. > > This patch was tested against drm-misc-next commit f42498705965 > ("drm/panfrost: Fix missing clk_disable_unprepare() on error in > panfrost_clk_init()") on a sc7180-trogdor-lazor device. > > At v10 now, this is ready to land and I plan to commit it shortly. All > patches have reviews and Laurent has said over IRC he doesn't object > it it landing. I've pushed this to drm-misc-next. I know it's only been a few hours since I posted it to the lists, but it's the same as v9 that's been sitting there for a while, except for checking the result of kazalloc that Lyude noticed (thanks!). I'm not aware of anyone else planning to add reviews and presume that if they were going to speak up they'd have done it by now. While landing, the "dim" tools pointed out two whitespace issues in patch #4 which I fixed while applying. Thanks to everyone for all the reviews and help in getting this whipped into shape! -Doug