Lines Matching full:vc4
7 * DOC: VC4 plane module
193 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_destroy_state() local
199 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
201 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
519 struct vc4_dev *vc4; in vc4_plane_calc_load() local
521 vc4 = to_vc4_dev(state->plane->dev); in vc4_plane_calc_load()
522 if (!vc4->load_tracker_available) in vc4_plane_calc_load()
574 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); in vc4_plane_allocate_lbm() local
592 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
593 ret = drm_mm_insert_node_generic(&vc4->hvs->lbm_mm, in vc4_plane_allocate_lbm()
596 vc4->hvs->hvs5 ? 64 : 32, in vc4_plane_allocate_lbm()
598 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
617 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_mode_set() local
817 if (!vc4->hvs->hvs5) { in vc4_plane_mode_set()
995 u32 kernel = VC4_SET_FIELD(vc4->hvs->mitchell_netravali_filter.start, in vc4_plane_mode_set()