Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c216 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event()
227 if (kcrtc->disable_done) { in komeda_crtc_handle_event()
228 complete_all(kcrtc->disable_done); in komeda_crtc_handle_event()
229 kcrtc->disable_done = NULL; in komeda_crtc_handle_event()
240 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event()
305 kcrtc->disable_done = &temp; in komeda_crtc_flush_and_wait_for_flip_done()
319 kcrtc->disable_done = NULL; in komeda_crtc_flush_and_wait_for_flip_done()
383 komeda_crtc_unprepare(kcrtc); in komeda_crtc_atomic_disable()
410 if (kcrtc->master->dual_link) in komeda_calc_min_aclk_rate()
470 if (kcrtc->master->dual_link) { in komeda_crtc_mode_fixup()
[all …]
H A 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()
H A Dkomeda_kms.c76 struct komeda_crtc *kcrtc = &kms->crtcs[i]; in komeda_kms_atomic_commit_hw_done() local
78 if (kcrtc->base.state->active) { in komeda_kms_atomic_commit_hw_done()
80 if (kcrtc->base.state->event) in komeda_kms_atomic_commit_hw_done()
81 flip_done = kcrtc->base.state->event->base.completion; in komeda_kms_atomic_commit_hw_done()
82 komeda_crtc_flush_and_wait_for_flip_done(kcrtc, flip_done); in komeda_kms_atomic_commit_hw_done()
156 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_normalize_zpos() local
203 if (has_bit(drm_plane_index(plane), kcrtc->slave_planes)) { in komeda_crtc_normalize_zpos()
H A 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()
H A Dkomeda_kms.h186 void komeda_crtc_handle_event(struct komeda_crtc *kcrtc,
188 void komeda_crtc_flush_and_wait_for_flip_done(struct komeda_crtc *kcrtc,
H A 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()
H A Dkomeda_pipeline.h538 int komeda_build_display_data_flow(struct komeda_crtc *kcrtc,
/openbmc/linux/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_ade.c145 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_fixup()
278 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_enable_vblank()
293 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_disable_vblank()
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()
465 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_disable()
467 if (!kcrtc->enable) in ade_crtc_atomic_disable()
472 kcrtc->enable = false; in ade_crtc_atomic_disable()
478 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_set_nofb()
[all …]