[PATCH 09/18] drm/sysfb: Maintain CRTC state in struct drm_sysfb_crtc_state

Javier Martinez Canillas javierm at redhat.com
Mon Mar 31 08:08:05 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Move ofdrm's struct ofdrm_crtc_state plus functions to sysfb
> helpers and rename everything to drm_sysfb_crtc_state.
>
> The sysfb CRTC state is a regular CRTC state with information on
> the primary plane's color format, as required for color management.
> Helpers for sysfb planes will later set this up automatically.
>
> In ofdrm and simpledrm, replace existing code with the new helpers.
> Ofdrm continues to use the CRTC state for color management. This
> has no effect on simpledrm.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list