drm/panel-edp: Add some panels with conservative timings
authorPin-yen Lin <treapking@chromium.org>
Thu, 14 Dec 2023 15:27:52 +0000 (23:27 +0800)
committerDouglas Anderson <dianders@chromium.org>
Mon, 18 Dec 2023 16:35:27 +0000 (08:35 -0800)
commit7c8690d8fc80e6149d9a8c85d22ba03f4d8dcc69
treea0000fef94f08d99f37b2e55419b76531bf4f8a9
parentf4ccd9fea227070497df29d68dcbcb55bdb3a9e3
drm/panel-edp: Add some panels with conservative timings

These panels are used by Mediatek MT8173 Chromebooks, and they used to
work with the downstream v4.19 kernel without any specified delay.
Back in the v4.19 kernel, they used the "little white lie" approach,
which is making the devicetree claim a specific panel's compatible
string for many different panels. That was a common solution before the
generic edp-panel driver.

After we uprevved the device to a newer kernel and used the edp-panel
driver, we saw multiple devices reporting warnings of using an unknown
panel and falling back to the conservative timings, which means that
they turn on/off much more slowly than they should. We tried to fill in
the timings for those panels, but we failed to find all the data sheets
for them.

Therefore, instead of having them use the default conservative timings,
update them with less-conservative timings from other panels of the same
vendor. The panels should still work under those timings, and we can
save some delays and suppress the warnings.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231214152817.2766280-4-treapking@chromium.org
drivers/gpu/drm/panel/panel-edp.c