[PATCH v3 04/26] drm: sun4i: de2: Initialize layer fields earlier

Chen-Yu Tsai wens at csie.org
Sun Aug 18 13:41:48 UTC 2024


On Sun, Aug 18, 2024 at 7:06 AM Ryan Walklin <ryan at testtoast.com> wrote:
>
> From: Jernej Skrabec <jernej.skrabec at gmail.com>
>
> drm_universal_plane_init() can already call some callbacks, like
> format_mod_supported, during initialization. Because of that, fields
> should be initialized beforehand.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at gmail.com>
> Co-developed-by: Ryan Walklin <ryan at testtoast.com>
> Signed-off-by: Ryan Walklin <ryan at testtoast.com>

Reviewed-by: Chen-Yu Tsai <wens at csie.org>


More information about the dri-devel mailing list