Lines Matching refs:vc4

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()
93 if (vc4->gen >= VC4_GEN_6_C) { in vc4_crtc_get_cob_allocation()
113 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local
114 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position()
134 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_get_scanout_position()
147 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_get_scanout_position()
162 cob_size = vc4_crtc_get_cob_allocation(vc4, channel); in vc4_crtc_get_scanout_position()
242 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() local
289 if (vc4->gen == VC4_GEN_4) in vc4_get_fifo_full_level()
349 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_config_pv() local
429 (vc4->gen >= VC4_GEN_6_C ? PV_VCONTROL_ODD_TIMING : 0) | in vc4_crtc_config_pv()
441 (vc4->gen >= VC4_GEN_6_C ? PV_VCONTROL_ODD_TIMING : 0) | in vc4_crtc_config_pv()
456 if (vc4->gen >= VC4_GEN_5) in vc4_crtc_config_pv()
461 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_config_pv()
489 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
490 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled()
492 if (vc4->gen >= VC4_GEN_6_C) in require_hvs_enabled()
506 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
539 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
552 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_disable_at_boot() local
578 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
826 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local
827 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip()
835 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_handle_page_flip()
853 if (vc4->gen < VC4_GEN_6_C) in vc4_crtc_handle_page_flip()
964 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_set_fence_cb() local
968 if (vc4->gen == VC4_GEN_4) { in vc4_async_set_fence_cb()
1050 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip() local
1055 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_async_page_flip()
1096 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_page_flip() local
1098 if (vc4->gen > VC4_GEN_4) in vc4_page_flip()
1126 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local
1132 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1134 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1405 struct vc4_dev *vc4 = to_vc4_dev(drm); in __vc4_crtc_init() local
1421 if (vc4->gen == VC4_GEN_4) { in __vc4_crtc_init()