Searched refs:kcrtc_st (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/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() 444 struct komeda_crtc_state *kcrtc_st, in komeda_scaler_check_cfg() argument 492 &kcrtc_st->base.adjusted_mode, in komeda_scaler_check_cfg() 493 komeda_crtc_get_aclk(kcrtc_st), dflow); in komeda_scaler_check_cfg() 505 struct komeda_crtc_state *kcrtc_st, in komeda_scaler_validate() argument 508 struct drm_atomic_state *drm_st = kcrtc_st->base.state; in komeda_scaler_validate() 524 err = komeda_scaler_check_cfg(scaler, kcrtc_st, dflow); in komeda_scaler_validate() [all …]
|
D | komeda_crtc.c | 48 static void komeda_crtc_update_clock_ratio(struct komeda_crtc_state *kcrtc_st) in komeda_crtc_update_clock_ratio() argument 52 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio() 53 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio() 57 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 58 aclk = komeda_crtc_get_aclk(kcrtc_st); in komeda_crtc_update_clock_ratio() 60 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio() 80 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(state); in komeda_crtc_atomic_check() local 84 komeda_crtc_update_clock_ratio(kcrtc_st); in komeda_crtc_atomic_check() 87 err = komeda_build_display_data_flow(kcrtc, kcrtc_st); in komeda_crtc_atomic_check() 93 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 | 527 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);
|
D | komeda_kms.c | 139 struct komeda_crtc_state *kcrtc_st = to_kcrtc_st(crtc_st); in komeda_crtc_normalize_zpos() local 163 kcrtc_st->max_slave_zorder = 0; in komeda_crtc_normalize_zpos() 185 kcrtc_st->max_slave_zorder = in komeda_crtc_normalize_zpos() 187 kcrtc_st->max_slave_zorder); in komeda_crtc_normalize_zpos()
|
D | komeda_kms.h | 171 unsigned long komeda_crtc_get_aclk(struct komeda_crtc_state *kcrtc_st);
|