Home
last modified time | relevance | path

Searched refs:kcrtc_st (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c49 static void komeda_crtc_update_clock_ratio(struct komeda_crtc_state *kcrtc_st) in komeda_crtc_update_clock_ratio() argument
53 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio()
54 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio()
58 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio()
59 aclk = komeda_crtc_get_aclk(kcrtc_st); in komeda_crtc_update_clock_ratio()
61 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
83 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_state); in komeda_crtc_atomic_check() local
87 komeda_crtc_update_clock_ratio(kcrtc_st); in komeda_crtc_atomic_check()
90 err = komeda_build_display_data_flow(kcrtc, kcrtc_st); in komeda_crtc_atomic_check()
96 err = komeda_release_unclaimed_resources(kcrtc->slave, kcrtc_st); in komeda_crtc_atomic_check()
[all …]
H A Dkomeda_wb_connector.c14 struct komeda_crtc_state *kcrtc_st, in komeda_wb_init_data_flow() argument
25 pipeline_composition_size(kcrtc_st, &dflow->in_w, &dflow->in_h); in komeda_wb_init_data_flow()
41 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_st); in komeda_wb_encoder_atomic_check() local
65 err = komeda_wb_init_data_flow(wb_layer, conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check()
71 conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check()
74 conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check()
H A Dkomeda_plane.c17 struct komeda_crtc_state *kcrtc_st, in komeda_plane_init_data_flow() argument
29 dflow->blending_zorder -= kcrtc_st->max_slave_zorder; in komeda_plane_init_data_flow()
33 kcrtc_st->max_slave_zorder); in komeda_plane_init_data_flow()
80 struct komeda_crtc_state *kcrtc_st; in komeda_plane_atomic_check() local
98 kcrtc_st = to_kcrtc_st(crtc_st); in komeda_plane_atomic_check()
100 err = komeda_plane_init_data_flow(new_plane_state, kcrtc_st, &dflow); in komeda_plane_atomic_check()
106 kplane_st, kcrtc_st, &dflow); in komeda_plane_atomic_check()
109 kplane_st, kcrtc_st, &dflow); in komeda_plane_atomic_check()
H A Dkomeda_pipeline.h527 void pipeline_composition_size(struct komeda_crtc_state *kcrtc_st,
532 struct komeda_crtc_state *kcrtc_st,
536 struct komeda_crtc_state *kcrtc_st,
539 struct komeda_crtc_state *kcrtc_st);
543 struct komeda_crtc_state *kcrtc_st,
547 struct komeda_crtc_state *kcrtc_st,
551 struct komeda_crtc_state *kcrtc_st);
H A Dkomeda_kms.c159 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_st); in komeda_crtc_normalize_zpos() local
184 kcrtc_st->max_slave_zorder = 0; in komeda_crtc_normalize_zpos()
209 kcrtc_st->max_slave_zorder = in komeda_crtc_normalize_zpos()
210 max(slave_zpos, kcrtc_st->max_slave_zorder); in komeda_crtc_normalize_zpos()
H A Dkomeda_kms.h174 unsigned long komeda_crtc_get_aclk(struct komeda_crtc_state *kcrtc_st);