Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/panel: novatek-nt36536: 40Hz mode placed after 30Hz mode --
commit 3c3c5affa5a859a396b05da412292d3534ba8e97 Author: Qianhui Xu <[email protected]> drm/panel: novatek-nt36536: add 40Hz and 24Hz modes for CSOT PP8807HB1-1 This commit adds 40Hz and 24Hz display mode timings to csot_pp8807hb1_1_modes[] for the CSOT PP8807HB1-1 panel. > diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36536.c > b/drivers/gpu/drm/panel/panel-novatek-nt36536.c > index 8bd1256501680..4d661033791b7 100644 > --- a/drivers/gpu/drm/panel/panel-novatek-nt36536.c > +++ b/drivers/gpu/drm/panel/panel-novatek-nt36536.c > @@ -320,6 +320,28 @@ static const struct drm_display_mode > csot_pp8807hb1_1_modes[] = { > .vsync_end = 3040 + 10226 + 4, > .vtotal = 3040 + 10226 + 4 + 330, > }, > + { > + .clock = (952 + 138 + 16 + 16) * 2 * (3040 + 6826 + 4 + 330) * > 40 / 1000, > + .hdisplay = 952 * 2, > + .hsync_start = (952 + 138) * 2, > + .hsync_end = (952 + 138 + 16) * 2, > + .htotal = (952 + 138 + 16 + 16) * 2, > + .vdisplay = 3040, > + .vsync_start = 3040 + 6826, > + .vsync_end = 3040 + 6826 + 4, > + .vtotal = 3040 + 6826 + 4 + 330, > + }, [Severity: Low] Should this 40Hz mode entry be placed before the preceding 30Hz mode entry (with vertical front porch 10226)? Inserting it here orders the 915552 KHz modes as 120Hz, 60Hz, 30Hz, 40Hz, 24Hz rather than from highest to lowest refresh rate as described in the commit message. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
