• Pin-yen Lin's avatar
    drm/panel-edp: Add some panels with conservative timings · 7c8690d8
    Pin-yen Lin authored
    
    
    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: default avatarPin-yen Lin <treapking@chromium.org>
    Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
    Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20231214152817.2766280-4-treapking@chromium.org
    7c8690d8
panel-edp.c 59.2 KB