Lines Matching refs:vc4_state

218 	struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state);  in vc4_hvs_lut_load()  local
231 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load()
444 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_atomic_check() local
465 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check()
479 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_install_dlist() local
485 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_install_dlist()
486 vc4_state->mm.start); in vc4_hvs_install_dlist()
495 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_update_dlist() local
505 if (!vc4_crtc->feeds_txp || vc4_state->txp_armed) { in vc4_hvs_update_dlist()
514 vc4_crtc->current_dlist = vc4_state->mm.start; in vc4_hvs_update_dlist()
522 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_atomic_begin() local
526 vc4_crtc->current_hvs_channel = vc4_state->assigned_channel; in vc4_hvs_atomic_begin()
550 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(old_state); in vc4_hvs_atomic_disable() local
551 unsigned int chan = vc4_state->assigned_channel; in vc4_hvs_atomic_disable()
565 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_atomic_flush() local
566 unsigned int channel = vc4_state->assigned_channel; in vc4_hvs_atomic_flush()
571 u32 __iomem *dlist_start = vc4->hvs->dlist + vc4_state->mm.start; in vc4_hvs_atomic_flush()
582 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc4_hvs_atomic_flush()
623 WARN_ON_ONCE(dlist_next - dlist_start != vc4_state->mm.size); in vc4_hvs_atomic_flush()