(subset) [PATCH v3 07/14] sun4i/drm: backend: use mode_set engine callback

Maxime Ripard maxime at cerno.tech
Tue Apr 26 05:41:36 PDT 2022


On Sun, 24 Apr 2022 11:26:25 -0500, Samuel Holland wrote:
> From: Jernej Skrabec <jernej.skrabec at gmail.com>
> 
> Newly introduced mode_set callback in engine structure is a much better
> place for setting backend output size and interlace mode for following
> reasons:
> 1. Aforementioned properties change only when mode changes, so it's
>    enough to be set only once per mode set. Currently it's done whenever
>    properties of primary plane are changed.
> 2. It's assumed that primary plane will always cover whole screen. While
>    this is true most of the time, it's not always. Planes are universal.
>    There is no reason to add artificial limitation to primary plane.
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime



More information about the linux-arm-kernel mailing list