Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] drm/panel: simple: missing DRM_BUS_FLAG_DE_HIGH in goworld_ili6150h6 --
commit 7f53184ccc00be47fc506de056145e3aebeaf6e0 Author: Wang Yang <[email protected]> drm/panel: simple: Add support for Goworld ILI6150H6 panel This commit adds display timing, panel descriptor, and the "goworld,ili6150h6" device-tree compatible entry for the Goworld ILI6150H6 LVDS panel. > diff --git a/drivers/gpu/drm/panel/panel-simple.c > b/drivers/gpu/drm/panel/panel-simple.c > index 33d954f3ee289..9beba399119cc 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -2543,6 +2543,35 @@ static const struct panel_desc giantplus_gpm940b0 = { > .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE, > }; > > +static const struct display_timing goworld_ili6150h6_timing = { > + .pixelclock = { 44900000, 51200000, 63000000 }, > + .hactive = { 1024, 1024, 1024 }, > + .hfront_porch = { 16, 160, 216 }, > + .hback_porch = { 160, 160, 160 }, > + .hsync_len = { 1, 1, 256 }, > + .vactive = { 600, 600, 600 }, > + .vfront_porch = { 1, 12, 127 }, > + .vback_porch = { 23, 23, 23 }, > + .vsync_len = { 1, 3, 20 }, > + .flags = DISPLAY_FLAGS_DE_HIGH, > +}; > + > +static const struct panel_desc goworld_ili6150h6 = { > + .timings = &goworld_ili6150h6_timing, > + .num_timings = 1, > + .bpc = 8, > + .size = { > + .width = 154, > + .height = 85, > + }, > + .delay = { > + .enable = 25, > + .disable = 25, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, > + .connector_type = DRM_MODE_CONNECTOR_LVDS, > +}; [Severity: Medium] Should goworld_ili6150h6 set .bus_flags = DRM_BUS_FLAG_DE_HIGH to match DISPLAY_FLAGS_DE_HIGH in goworld_ili6150h6_timing? panel_simple_get_timings_modes() converts display_timing entries through drm_display_mode_from_videomode(), which ignores DISPLAY_FLAGS_DE_HIGH, and panel_simple_get_non_edid_modes() sets connector->display_info.bus_flags from panel->desc->bus_flags. Without .bus_flags in goworld_ili6150h6, connector->display_info.bus_flags remains 0, so LVDS bridges and display controllers checking DRM_BUS_FLAG_DE_HIGH will not configure active-high DE polarity. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=3
