[PATCH v2 4/4] drm/vc4: Restrict active CTM to one CRTC

Daniel Stone daniel at fooishbar.org
Sun Mar 25 08:01:18 UTC 2018


Hi Stefan,

On 25 March 2018 at 02:52, Stefan Schake <stschake at gmail.com> wrote:
> +static int vc4_crtc_get_ctm_fifo(struct vc4_dev *vc4)
> +{
> +       return VC4_GET_FIELD(HVS_READ(SCALER_OLEDOFFS),
> +                            SCALER_OLEDOFFS_DISPFIFO);
> +}

This needs to be managed as a global resource through atomic state
objects, rather than checking the current hardware state.

Cheers,
Daniel


More information about the dri-devel mailing list