This is V2 of a patch that fixes flickering after resume from sleep on panel xingbangda,xbd599 (e.g. used in PinePhone). Please see here for the discussion around V1: https://lore.kernel.org/all/20230212120830.46880-1-frank@xxxxxxxxxxxx/T/ V1 introduced panel specific functions for the JH057N and XBD599 panels. Ondřej Dirman deemed this unneccesary and finally convinced me. Therefore, V2 is a much simpler patch. The patch is just a refactoring of Ondřej's original patch, that is already used today by PinePhone distributions like PostmarketOS. This patch has not been tested with the JH057N panel used in the Librem 5 devkit. I hereby kindly ask for Librem (i.e. Guido) to test this. The patch is based on drm-next. Ondřej, since this is just a very minor refactoring of your work, I would gladly put you as the author, if you wish so. Thanks, Frank Frank Oltmanns (1): drm/panel: st7703: Fix timings when entering/exiting sleep drivers/gpu/drm/panel/panel-sitronix-st7703.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.39.1