Lines Matching refs:vc4_state

165 	struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state);  in vc4_hvs_lut_load()  local
174 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load()
332 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_atomic_check() local
353 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check()
367 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_update_dlist() local
378 if (!vc4_state->feed_txp || vc4_state->txp_armed) { in vc4_hvs_update_dlist()
383 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_update_dlist()
384 vc4_state->mm.start); in vc4_hvs_update_dlist()
388 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_update_dlist()
389 vc4_state->mm.start); in vc4_hvs_update_dlist()
399 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(new_crtc_state); in vc4_hvs_atomic_enable() local
401 bool oneshot = vc4_state->feed_txp; in vc4_hvs_atomic_enable()
412 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(old_state); in vc4_hvs_atomic_disable() local
413 unsigned int chan = vc4_state->assigned_channel; in vc4_hvs_atomic_disable()
425 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_atomic_flush() local
430 u32 __iomem *dlist_start = vc4->hvs->dlist + vc4_state->mm.start; in vc4_hvs_atomic_flush()
460 WARN_ON_ONCE(dlist_next - dlist_start != vc4_state->mm.size); in vc4_hvs_atomic_flush()
466 HVS_WRITE(SCALER_DISPBKGNDX(vc4_state->assigned_channel), in vc4_hvs_atomic_flush()
467 HVS_READ(SCALER_DISPBKGNDX(vc4_state->assigned_channel)) | in vc4_hvs_atomic_flush()
481 u32 dispbkgndx = HVS_READ(SCALER_DISPBKGNDX(vc4_state->assigned_channel)); in vc4_hvs_atomic_flush()
493 HVS_WRITE(SCALER_DISPBKGNDX(vc4_state->assigned_channel), dispbkgndx); in vc4_hvs_atomic_flush()