[PATCH v2 2/4] panel: Lightweight support of get_modes()

Fabio Estevam festevam at gmail.com
Wed Dec 3 14:42:09 CET 2025


On Wed, Dec 3, 2025 at 7:19 AM Markus Schneider-Pargmann (TI.com)
<msp at baylibre.com> wrote:
>
> Linux uses get_modes() to fetch all available panel modes from the
> driver. This is also used to fetch the modes from Linux's simple panel
> implementation where a list of drm_display_mode structs is used to
> define the different possible panels.
>
> To make our work easier, create a compatible way of fetching and
> defining these modes in u-boot. get_modes() fetches the available modes
> from the panel driver. The get_display_timing() call maps the
> drm_display_mode properties to the display_timing struct. This call now
> uses whatever panel operation is available, get_display_timing() or
> get_modes().
>
> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp at baylibre.com>

Allowing U-Boot to represent the panels like Linux does is very helpful, thanks:

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the U-Boot mailing list