Lines Matching refs:dflow
18 struct komeda_data_flow_cfg *dflow) in komeda_plane_init_data_flow() argument
25 memset(dflow, 0, sizeof(*dflow)); in komeda_plane_init_data_flow()
27 dflow->blending_zorder = st->normalized_zpos; in komeda_plane_init_data_flow()
29 dflow->blending_zorder -= kcrtc_st->max_slave_zorder; in komeda_plane_init_data_flow()
30 if (dflow->blending_zorder < 0) { in komeda_plane_init_data_flow()
37 dflow->pixel_blend_mode = st->pixel_blend_mode; in komeda_plane_init_data_flow()
38 dflow->layer_alpha = st->alpha >> 8; in komeda_plane_init_data_flow()
40 dflow->out_x = st->crtc_x; in komeda_plane_init_data_flow()
41 dflow->out_y = st->crtc_y; in komeda_plane_init_data_flow()
42 dflow->out_w = st->crtc_w; in komeda_plane_init_data_flow()
43 dflow->out_h = st->crtc_h; in komeda_plane_init_data_flow()
45 dflow->in_x = st->src_x >> 16; in komeda_plane_init_data_flow()
46 dflow->in_y = st->src_y >> 16; in komeda_plane_init_data_flow()
47 dflow->in_w = st->src_w >> 16; in komeda_plane_init_data_flow()
48 dflow->in_h = st->src_h >> 16; in komeda_plane_init_data_flow()
50 dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots); in komeda_plane_init_data_flow()
51 if (!has_bits(dflow->rot, caps->supported_rots)) { in komeda_plane_init_data_flow()
53 dflow->rot, &caps->fourcc, fb->modifier); in komeda_plane_init_data_flow()
57 komeda_complete_data_flow_cfg(kplane->layer, dflow, fb); in komeda_plane_init_data_flow()
81 struct komeda_data_flow_cfg dflow; in komeda_plane_atomic_check() local
100 err = komeda_plane_init_data_flow(new_plane_state, kcrtc_st, &dflow); in komeda_plane_atomic_check()
104 if (dflow.en_split) 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()