Hi Stefan,
On 25 March 2018 at 02:52, Stefan Schake stschake@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