[PATCH] video: lcdif: skip framebuffer registration when no display modes available
Sascha Hauer
s.hauer at pengutronix.de
Mon Jul 6 23:59:01 PDT 2026
On Tue, 23 Jun 2026 19:20:17 +0000, Johannes Schneider wrote:
> When the downstream VPL chain reports no modes (e.g. the panel-lvds
> node was runtime-disabled by board code on a unit shipped without a
> panel), the driver previously fell back to a 640x480 default,
> allocated a framebuffer, registered /dev/fb0, exported a (bogus)
> simplefb DT fixup to the kernel, and tried to fb_enable() the
> controller. fb_enable() then bailed because info->mode was NULL,
> but only after we'd already exported a non-functional simplefb to
> Linux's DRM_SIMPLEDRM and wasted ~1.2 MB on a buffer nothing
> scans out.
>
> [...]
Applied, thanks!
[1/1] video: lcdif: skip framebuffer registration when no display modes available
https://git.pengutronix.de/cgit/barebox/commit/?id=54878fe93a12 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list