Lines Matching full:vc4
7 * DOC: VC4 CRTC module
9 * In VC4, the Pixel Valve is what most closely corresponds to the
83 vc4_crtc_get_cob_allocation(struct vc4_dev *vc4, unsigned int channel) in vc4_crtc_get_cob_allocation() argument
85 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation()
104 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local
105 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position()
144 cob_size = vc4_crtc_get_cob_allocation(vc4, vc4_crtc_state->assigned_channel); in vc4_crtc_get_scanout_position()
224 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() local
266 if (!vc4->is_vc5) in vc4_get_fifo_full_level()
289 * VC4 can only scan out to one encoder at a time, while the DRM core
326 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_config_pv() local
431 if (vc4->is_vc5) in vc4_crtc_config_pv()
458 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
459 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled()
473 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
506 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
519 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_disable_at_boot() local
541 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
782 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local
783 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip()
912 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_set_fence_cb() local
916 if (!vc4->is_vc5) { in vc4_async_set_fence_cb()
998 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip() local
1003 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_async_page_flip()
1044 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_page_flip() local
1046 if (vc4->is_vc5) in vc4_page_flip()
1074 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local
1080 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1082 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1325 struct vc4_dev *vc4 = to_vc4_dev(drm); in __vc4_crtc_init() local
1341 if (!vc4->is_vc5) { in __vc4_crtc_init()
1424 "vc4 crtc", vc4_crtc); in vc4_crtc_bind()