Home
last modified time | relevance | path

Searched refs:kcrtc (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c52 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_atomic_check() local
60 err = komeda_build_display_data_flow(kcrtc, kcrtc_st); in komeda_crtc_atomic_check()
66 err = komeda_release_unclaimed_resources(kcrtc->slave, kcrtc_st); in komeda_crtc_atomic_check()
70 err = komeda_release_unclaimed_resources(kcrtc->master, kcrtc_st); in komeda_crtc_atomic_check()
82 komeda_crtc_prepare(struct komeda_crtc *kcrtc) in komeda_crtc_prepare() argument
84 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_prepare()
85 struct komeda_pipeline *master = kcrtc->master; in komeda_crtc_prepare()
86 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(kcrtc->base.state); in komeda_crtc_prepare()
135 komeda_crtc_unprepare(struct komeda_crtc *kcrtc) in komeda_crtc_unprepare() argument
137 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_unprepare()
[all …]
Dkomeda_wb_connector.c139 struct komeda_crtc *kcrtc) in komeda_wb_connector_add() argument
147 if (!kcrtc->master->wb_layer) in komeda_wb_connector_add()
154 kwb_conn->wb_layer = kcrtc->master->wb_layer; in komeda_wb_connector_add()
157 wb_conn->encoder.possible_crtcs = BIT(drm_crtc_index(&kcrtc->base)); in komeda_wb_connector_add()
175 kcrtc->wb_conn = kwb_conn; in komeda_wb_connector_add()
Dkomeda_plane.c228 struct komeda_crtc *kcrtc; in komeda_set_crtc_plane_mask() local
232 kcrtc = &kms->crtcs[i]; in komeda_set_crtc_plane_mask()
234 if (pipe == kcrtc->slave) in komeda_set_crtc_plane_mask()
235 kcrtc->slave_planes |= BIT(drm_plane_index(plane)); in komeda_set_crtc_plane_mask()
Dkomeda_kms.c144 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_normalize_zpos() local
190 if (has_bit(drm_plane_index(plane), kcrtc->slave_planes)) in komeda_crtc_normalize_zpos()
Dkomeda_kms.h181 void komeda_crtc_handle_event(struct komeda_crtc *kcrtc,
Dkomeda_pipeline_state.c1135 int komeda_build_display_data_flow(struct komeda_crtc *kcrtc, in komeda_build_display_data_flow() argument
1138 struct komeda_pipeline *master = kcrtc->master; in komeda_build_display_data_flow()
1139 struct komeda_pipeline *slave = kcrtc->slave; in komeda_build_display_data_flow()
Dkomeda_pipeline.h520 int komeda_build_display_data_flow(struct komeda_crtc *kcrtc,
/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c146 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_mode_fixup() local
147 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_fixup()
279 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_enable_vblank() local
280 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_enable_vblank()
294 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_disable_vblank() local
295 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_disable_vblank()
460 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_atomic_enable() local
461 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_enable()
464 if (kcrtc->enable) in ade_crtc_atomic_enable()
477 kcrtc->enable = true; in ade_crtc_atomic_enable()
[all …]
Dkirin_drm_dpe.c663 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in dpe_enable_vblank() local
664 struct dpe_hw_ctx *ctx = kcrtc->hw_ctx; in dpe_enable_vblank()
673 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in dpe_disable_vblank() local
674 struct dpe_hw_ctx *ctx = kcrtc->hw_ctx; in dpe_disable_vblank()
685 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in dpe_crtc_atomic_enable() local
686 struct dpe_hw_ctx *ctx = kcrtc->hw_ctx; in dpe_crtc_atomic_enable()
689 if (kcrtc->enable == true) in dpe_crtc_atomic_enable()
696 kcrtc->enable = true; in dpe_crtc_atomic_enable()
703 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in dpe_crtc_atomic_disable() local
705 if (kcrtc->enable == false) in dpe_crtc_atomic_disable()
[all …]