Searched refs:kcrtc_st (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline_state.c | 87 struct komeda_crtc_state *kcrtc_st; in komeda_pipeline_get_state_and_set_crtc() local 89 kcrtc_st = to_kcrtc_st(drm_atomic_get_new_crtc_state(state, in komeda_pipeline_get_state_and_set_crtc() 92 kcrtc_st->active_pipes |= BIT(pipe->id); in komeda_pipeline_get_state_and_set_crtc() 93 kcrtc_st->affected_pipes |= BIT(pipe->id); in komeda_pipeline_get_state_and_set_crtc() 427 struct komeda_crtc_state *kcrtc_st, in komeda_scaler_check_cfg() argument 475 &kcrtc_st->base.adjusted_mode, in komeda_scaler_check_cfg() 476 komeda_crtc_get_aclk(kcrtc_st), dflow); in komeda_scaler_check_cfg() 488 struct komeda_crtc_state *kcrtc_st, in komeda_scaler_validate() argument 491 struct drm_atomic_state *drm_st = kcrtc_st->base.state; in komeda_scaler_validate() 507 err = komeda_scaler_check_cfg(scaler, kcrtc_st, dflow); in komeda_scaler_validate() [all …]
|
D | komeda_crtc.c | 21 static void komeda_crtc_update_clock_ratio(struct komeda_crtc_state *kcrtc_st) in komeda_crtc_update_clock_ratio() argument 25 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio() 26 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio() 30 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 31 aclk = komeda_crtc_get_aclk(kcrtc_st); in komeda_crtc_update_clock_ratio() 33 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio() 53 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(state); in komeda_crtc_atomic_check() local 57 komeda_crtc_update_clock_ratio(kcrtc_st); in komeda_crtc_atomic_check() 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() [all …]
|
D | komeda_wb_connector.c | 13 struct komeda_crtc_state *kcrtc_st, in komeda_wb_init_data_flow() argument 24 pipeline_composition_size(kcrtc_st, &dflow->in_w, &dflow->in_h); in komeda_wb_init_data_flow() 40 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_st); in komeda_wb_encoder_atomic_check() local 64 err = komeda_wb_init_data_flow(wb_layer, conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check() 70 conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check() 73 conn_st, kcrtc_st, &dflow); in komeda_wb_encoder_atomic_check()
|
D | komeda_plane.c | 17 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 97 kcrtc_st = to_kcrtc_st(crtc_st); in komeda_plane_atomic_check() 99 err = komeda_plane_init_data_flow(state, kcrtc_st, &dflow); in komeda_plane_atomic_check() 105 kplane_st, kcrtc_st, &dflow); in komeda_plane_atomic_check() 108 kplane_st, kcrtc_st, &dflow); in komeda_plane_atomic_check()
|
D | komeda_pipeline.h | 509 void pipeline_composition_size(struct komeda_crtc_state *kcrtc_st, 514 struct komeda_crtc_state *kcrtc_st, 518 struct komeda_crtc_state *kcrtc_st, 521 struct komeda_crtc_state *kcrtc_st); 525 struct komeda_crtc_state *kcrtc_st, 529 struct komeda_crtc_state *kcrtc_st, 533 struct komeda_crtc_state *kcrtc_st);
|
D | komeda_kms.c | 145 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_st); in komeda_crtc_normalize_zpos() local 169 kcrtc_st->max_slave_zorder = 0; in komeda_crtc_normalize_zpos() 191 kcrtc_st->max_slave_zorder = in komeda_crtc_normalize_zpos() 193 kcrtc_st->max_slave_zorder); in komeda_crtc_normalize_zpos()
|
D | komeda_kms.h | 169 unsigned long komeda_crtc_get_aclk(struct komeda_crtc_state *kcrtc_st);
|