Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c80 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_atomic_check() local
88 err = komeda_build_display_data_flow(kcrtc, kcrtc_st); in komeda_crtc_atomic_check()
94 err = komeda_release_unclaimed_resources(kcrtc->slave, kcrtc_st); in komeda_crtc_atomic_check()
98 err = komeda_release_unclaimed_resources(kcrtc->master, kcrtc_st); in komeda_crtc_atomic_check()
110 komeda_crtc_prepare(struct komeda_crtc *kcrtc) in komeda_crtc_prepare() argument
112 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_prepare()
113 struct komeda_pipeline *master = kcrtc->master; in komeda_crtc_prepare()
114 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(kcrtc->base.state); in komeda_crtc_prepare()
163 komeda_crtc_unprepare(struct komeda_crtc *kcrtc) in komeda_crtc_unprepare() argument
165 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_unprepare()
[all …]
Dkomeda_wb_connector.c140 struct komeda_crtc *kcrtc) in komeda_wb_connector_add() argument
149 if (!kcrtc->master->wb_layer) in komeda_wb_connector_add()
156 kwb_conn->wb_layer = kcrtc->master->wb_layer; in komeda_wb_connector_add()
168 BIT(drm_crtc_index(&kcrtc->base))); in komeda_wb_connector_add()
178 info->bpc = __fls(kcrtc->master->improc->supported_color_depths); in komeda_wb_connector_add()
179 info->color_formats = kcrtc->master->improc->supported_color_formats; in komeda_wb_connector_add()
181 kcrtc->wb_conn = kwb_conn; in komeda_wb_connector_add()
Dkomeda_kms.c79 struct komeda_crtc *kcrtc = &kms->crtcs[i]; in komeda_kms_atomic_commit_hw_done() local
81 if (kcrtc->base.state->active) { in komeda_kms_atomic_commit_hw_done()
83 if (kcrtc->base.state->event) in komeda_kms_atomic_commit_hw_done()
84 flip_done = kcrtc->base.state->event->base.completion; in komeda_kms_atomic_commit_hw_done()
85 komeda_crtc_flush_and_wait_for_flip_done(kcrtc, flip_done); in komeda_kms_atomic_commit_hw_done()
159 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_normalize_zpos() local
205 if (has_bit(drm_plane_index(plane), kcrtc->slave_planes)) in komeda_crtc_normalize_zpos()
Dkomeda_plane.c220 struct komeda_crtc *kcrtc; in komeda_set_crtc_plane_mask() local
224 kcrtc = &kms->crtcs[i]; in komeda_set_crtc_plane_mask()
226 if (pipe == kcrtc->slave) in komeda_set_crtc_plane_mask()
227 kcrtc->slave_planes |= BIT(drm_plane_index(plane)); in komeda_set_crtc_plane_mask()
Dkomeda_kms.h184 void komeda_crtc_handle_event(struct komeda_crtc *kcrtc,
186 void komeda_crtc_flush_and_wait_for_flip_done(struct komeda_crtc *kcrtc,
Dkomeda_pipeline_state.c1187 int komeda_build_display_data_flow(struct komeda_crtc *kcrtc, in komeda_build_display_data_flow() argument
1190 struct komeda_pipeline *master = kcrtc->master; in komeda_build_display_data_flow()
1191 struct komeda_pipeline *slave = kcrtc->slave; in komeda_build_display_data_flow()
Dkomeda_pipeline.h538 int komeda_build_display_data_flow(struct komeda_crtc *kcrtc,
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c144 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_mode_fixup() local
145 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_fixup()
277 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_enable_vblank() local
278 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_enable_vblank()
292 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_disable_vblank() local
293 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_disable_vblank()
441 struct kirin_crtc *kcrtc = to_kirin_crtc(crtc); in ade_crtc_atomic_enable() local
442 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_enable()
445 if (kcrtc->enable) in ade_crtc_atomic_enable()
458 kcrtc->enable = true; in ade_crtc_atomic_enable()
[all …]