Lines Matching full:vc4
7 * DOC: VC4 CRTC module
9 * In VC4, the Pixel Valve is what most closely corresponds to the
73 vc4_crtc_get_cob_allocation(struct vc4_dev *vc4, unsigned int channel) in vc4_crtc_get_cob_allocation() argument
75 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation()
94 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local
95 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position()
134 cob_size = vc4_crtc_get_cob_allocation(vc4, vc4_crtc_state->assigned_channel); in vc4_crtc_get_scanout_position()
214 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() local
256 if (!vc4->is_vc5) in vc4_get_fifo_full_level()
279 * VC4 can only scan out to one encoder at a time, while the DRM core
316 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_config_pv() local
404 if (vc4->is_vc5) in vc4_crtc_config_pv()
431 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
432 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled()
446 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
479 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
507 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_disable_at_boot() local
529 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
770 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local
771 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip()
900 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_set_fence_cb() local
904 if (!vc4->is_vc5) { in vc4_async_set_fence_cb()
986 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip() local
991 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_async_page_flip()
1032 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_page_flip() local
1034 if (vc4->is_vc5) in vc4_page_flip()
1062 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local
1068 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1070 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1285 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_init() local
1311 if (!vc4->is_vc5) { in vc4_crtc_init()
1370 "vc4 crtc", vc4_crtc); in vc4_crtc_bind()