Lines Matching full:vc4
7 * DOC: VC4 plane module
300 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_destroy_state() local
306 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
308 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
553 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); in vc4_lbm_size() local
590 lbm = roundup(lbm, vc4->is_vc5 ? 128 : 64); in vc4_lbm_size()
593 lbm /= vc4->is_vc5 ? 4 : 2; in vc4_lbm_size()
687 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); in vc4_plane_allocate_lbm() local
705 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
706 ret = drm_mm_insert_node_generic(&vc4->hvs->lbm_mm, in vc4_plane_allocate_lbm()
709 vc4->is_vc5 ? 64 : 32, in vc4_plane_allocate_lbm()
711 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
817 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_mode_set() local
1060 if (!vc4->is_vc5) { in vc4_plane_mode_set()
1237 u32 kernel = VC4_SET_FIELD(vc4->hvs->mitchell_netravali_filter.start, in vc4_plane_mode_set()
1619 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_plane_init() local
1635 if (!hvs_formats[i].hvs5_only || vc4->is_vc5) { in vc4_plane_init()
1650 if (vc4->is_vc5) in vc4_plane_init()