Home
last modified time | relevance | path

Searched refs:bottom_pipe (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1580 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1583 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1584 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1585 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm()
1601 if (pri_pipe->bottom_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1602 ASSERT(pri_pipe->bottom_pipe != sec_pipe); in dcn30_split_stream_for_mpc_or_odm()
1603 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn30_split_stream_for_mpc_or_odm()
1604 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1606 pri_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1735 struct pipe_ctx *mpo_pipe = pipe->bottom_pipe; in dcn30_internal_validate_bw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Ddc_common.c57 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_lower_pipe_tree_visible()
77 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_pipe_tree_visible()
H A Ddce_calcs.c2803 if (!pipe[i].stream || !pipe[i].bottom_pipe) in populate_initial_data()
2880 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data()
2881 …data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.vi… in populate_initial_data()
2883 pipe[i].bottom_pipe->plane_state->plane_size.surface_pitch); in populate_initial_data()
2884 …data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()
2885 …data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()
2887 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2889 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2890 switch (pipe[i].bottom_pipe->plane_state->rotation) { in populate_initial_data()
2915 if (!pipe[i].stream || pipe[i].bottom_pipe) in populate_initial_data()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c570 pipe = pipe->bottom_pipe; in dcn32_get_num_free_pipes()
641 pipe = pipe->bottom_pipe; in dcn32_assign_subvp_pipe()
695 pipe = pipe->bottom_pipe; in dcn32_enough_pipes_for_subvp()
1901 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm()
1904 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm()
1905 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm()
1906 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm()
1923 if (pri_pipe->bottom_pipe) { in dcn32_split_stream_for_mpc_or_odm()
1924 ASSERT(pri_pipe->bottom_pipe != sec_pipe); in dcn32_split_stream_for_mpc_or_odm()
1925 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn32_split_stream_for_mpc_or_odm()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_mall_phantom.c119 pipe->bottom_pipe = NULL; in merge_pipes_for_subvp()
131 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in merge_pipes_for_subvp() local
133 top_pipe->bottom_pipe = bottom_pipe; in merge_pipes_for_subvp()
134 if (bottom_pipe) in merge_pipes_for_subvp()
135 bottom_pipe->top_pipe = top_pipe; in merge_pipes_for_subvp()
138 pipe->bottom_pipe = NULL; in merge_pipes_for_subvp()
198 pipe = pipe->bottom_pipe; in get_num_free_pipes()
261 pipe = pipe->bottom_pipe; in assign_subvp_pipe()
325 pipe = pipe->bottom_pipe; in enough_pipes_for_subvp()
778 curr_pipe = curr_pipe->bottom_pipe; in enable_phantom_plane()
H A Ddml2_dc_resource_mgmt.c164 mpc_pipe = mpc_pipe->bottom_pipe; in find_pipes_assigned_to_plane()
568 …top_pipe->bottom_pipe = &state->res_ctx.pipe_ctx[pipe_pool->pipes_assigned_to_plane[odm_slice][i]]; in add_plane_to_blend_tree()
573 state->res_ctx.pipe_ctx[pipe_pool->pipes_assigned_to_plane[odm_slice][i]].bottom_pipe = NULL; in add_plane_to_blend_tree()
725 pipe->top_pipe->bottom_pipe = pipe->bottom_pipe; in remove_pipes_from_blend_trees()
727 if (pipe->bottom_pipe) in remove_pipes_from_blend_trees()
728 pipe->bottom_pipe = pipe->top_pipe; in remove_pipes_from_blend_trees()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1842 const struct pipe_ctx *cur_sec_dpp = cur_opp_head->bottom_pipe; in resource_find_free_pipe_used_in_cur_mpc_blending_tree()
1856 cur_sec_dpp = cur_sec_dpp->bottom_pipe; in resource_find_free_pipe_used_in_cur_mpc_blending_tree()
2047 pipe = pipe->bottom_pipe; in resource_get_dpp_pipes_for_opp_head()
2077 pipe = pipe->bottom_pipe; in resource_get_dpp_pipes_for_plane()
2132 const struct pipe_ctx *other_pipe = pipe->bottom_pipe; in resource_get_mpc_slice_count()
2136 other_pipe = other_pipe->bottom_pipe; in resource_get_mpc_slice_count()
2281 if (pipe_a->bottom_pipe && pipe_b->bottom_pipe) { in resource_is_pipe_topology_changed()
2282 if (pipe_a->bottom_pipe->pipe_idx != pipe_b->bottom_pipe->pipe_idx) in resource_is_pipe_topology_changed()
2284 if ((pipe_a->bottom_pipe->plane_state == pipe_a->plane_state) && in resource_is_pipe_topology_changed()
2285 (pipe_b->bottom_pipe->plane_state != pipe_b->plane_state)) in resource_is_pipe_topology_changed()
[all …]
H A Ddc_state.c157 if (cur_pipe->bottom_pipe) in dc_state_copy_internal()
158 cur_pipe->bottom_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_state_copy_internal()
H A Ddc_hw_sequencer.c888 current_mpc_pipe = current_mpc_pipe->bottom_pipe; in hwss_build_fast_sequence()
921 if (!current_mpc_pipe->bottom_pipe && !current_mpc_pipe->next_odm_pipe && in hwss_build_fast_sequence()
936 current_mpc_pipe = current_mpc_pipe->bottom_pipe; in hwss_build_fast_sequence()
2065 while (bottom_pipe_ctx->bottom_pipe != NULL) in get_surface_tile_visual_confirm_color()
2066 bottom_pipe_ctx = bottom_pipe_ctx->bottom_pipe; in get_surface_tile_visual_confirm_color()
H A Ddc.c4256 for (mpcc_pipe = top_pipe_to_program; mpcc_pipe; mpcc_pipe = mpcc_pipe->bottom_pipe) in commit_planes_for_stream()
4597 if (pipe_ctx->bottom_pipe || pipe_ctx->next_odm_pipe || in commit_planes_for_stream()
6897 if (pipe_ctx->bottom_pipe) { in dc_capture_register_software_state()
6898 state->mpc.mpcc_bot_sel[i] = pipe_ctx->bottom_pipe->pipe_idx; in dc_capture_register_software_state()
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c314 } else if (pipe->bottom_pipe != NULL && pipe->bottom_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params()
542 if (primary_pipe->bottom_pipe) { in split_stream_across_pipes()
543 ASSERT(primary_pipe->bottom_pipe != secondary_pipe); in split_stream_across_pipes()
544 secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; in split_stream_across_pipes()
545 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in split_stream_across_pipes()
547 primary_pipe->bottom_pipe = secondary_pipe; in split_stream_across_pipes()
946 if (pipe->bottom_pipe && pipe->bottom_pipe->plane_state == pipe->plane_state) { in dcn_validate_bandwidth()
950 int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width in dcn_validate_bandwidth()
951 + pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
955 - pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1537 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1540 if (prev_odm_pipe->bottom_pipe && prev_odm_pipe->bottom_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm()
1541 prev_odm_pipe->bottom_pipe->next_odm_pipe->top_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1542 next_odm_pipe->bottom_pipe = prev_odm_pipe->bottom_pipe->next_odm_pipe; in dcn20_split_stream_for_odm()
1575 struct pipe_ctx *sec_bot_pipe = secondary_pipe->bottom_pipe; in dcn20_split_stream_for_mpc()
1578 secondary_pipe->bottom_pipe = sec_bot_pipe; in dcn20_split_stream_for_mpc()
1588 if (primary_pipe->bottom_pipe && primary_pipe->bottom_pipe != secondary_pipe) { in dcn20_split_stream_for_mpc()
1589 ASSERT(!secondary_pipe->bottom_pipe); in dcn20_split_stream_for_mpc()
1590 secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; in dcn20_split_stream_for_mpc()
1591 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in dcn20_split_stream_for_mpc()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c125 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
137 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in dcn32_merge_pipes_for_subvp() local
139 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp()
140 if (bottom_pipe) in dcn32_merge_pipes_for_subvp()
141 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp()
144 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
H A Ddcn32_resource.c1713 curr_pipe = curr_pipe->bottom_pipe; in dcn32_enable_phantom_plane()
2741 if ((old_primary_pipe->next_odm_pipe) && (old_primary_pipe->next_odm_pipe->bottom_pipe) in find_idle_secondary_pipe_check_mpo()
2742 && (!primary_pipe->bottom_pipe)) in find_idle_secondary_pipe_check_mpo()
2743 next_odm_mpo_pipe = old_primary_pipe->next_odm_pipe->bottom_pipe; in find_idle_secondary_pipe_check_mpo()
2794 if (pipe->bottom_pipe && res_ctx->pipe_ctx[pipe->bottom_pipe->pipe_idx].stream == NULL) { in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
2795 idle_pipe = &res_ctx->pipe_ctx[pipe->bottom_pipe->pipe_idx]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
2796 idle_pipe->pipe_idx = pipe->bottom_pipe->pipe_idx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c728 pipe_ctx->bottom_pipe = NULL; in dcn20_plane_atomic_disable()
1394 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock()
1398 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1419 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1426 if (lock && (pipe->bottom_pipe != NULL || !flip_immediate)) in dcn20_pipe_control_lock()
1434 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock()
1438 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1871 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in dcn20_calculate_vready_offset_for_group()
2170 pipe = pipe->bottom_pipe; in dcn20_program_front_end_for_ctx()
2318 pipe = pipe->bottom_pipe; in dcn20_post_unlock_program_front_end()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1110 if ((pipe_ctx->top_pipe != NULL) || (pipe_ctx->bottom_pipe != NULL)) { in dcn401_set_cursor_position()
1194 (pipe_ctx == pipe_ctx->top_pipe->bottom_pipe)) { in dcn401_set_cursor_position()
1373 pipe_ctx = pipe_ctx->bottom_pipe; in dcn401_wait_for_dcc_meta_propagation()
1918 for (mpc_pipe = odm_pipe; mpc_pipe != NULL; mpc_pipe = mpc_pipe->bottom_pipe) { in dcn401_perform_3dlut_wa_unlock()
2044 pipe_ctx->bottom_pipe = NULL; in dcn401_reset_back_end_for_pipe()
2090 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in dcn401_calculate_vready_offset_for_group()
2541 pipe = pipe->bottom_pipe; in dcn401_program_front_end_for_ctx()
2655 pipe = pipe->bottom_pipe; in dcn401_post_unlock_program_front_end()
3469 pipe_ctx->bottom_pipe = NULL; in dcn401_disable_plane_sequence()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce60/
H A Ddce60_hwseq.c312 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != 0; in dce60_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c1700 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in dce110_apply_single_controller_ctx_to_hw()
2592 if (pipe_ctx->bottom_pipe) { in program_surface_visibility()
2595 ASSERT(pipe_ctx->bottom_pipe->bottom_pipe == NULL); in program_surface_visibility()
2597 if (pipe_ctx->bottom_pipe->plane_state->visible) { in program_surface_visibility()
2951 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in dce110_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c1159 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in calculate_vready_offset_for_group()
1550 pipe_ctx->bottom_pipe = NULL; in dcn10_plane_atomic_disable()
2891 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn10_update_mpcc()
2968 pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in update_scaler()
3676 if ((pipe_ctx->top_pipe != NULL) || (pipe_ctx->bottom_pipe != NULL)) { in dcn10_set_cursor_position()
3808 if (pipe_ctx->bottom_pipe) { in dcn10_set_cursor_position()
3810 pipe_ctx->bottom_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h478 struct pipe_ctx *bottom_pipe; member
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c840 if (subvp_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info()
841 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->bottom_pipe->pipe_idx; in populate_subvp_cmd_pipe_info()
855 if (phantom_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info()
856 …pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->bottom_pipe->plane_res.… in populate_subvp_cmd_pipe_info()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c850 struct pipe_ctx *mpo_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw()
874 struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c429 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn201_update_mpcc()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1592 …pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe && res_ctx->pipe_ctx[i].bottom_pi… in dcn20_populate_dml_pipes_from_context()
1656 struct pipe_ctx *split_pipe = res_ctx->pipe_ctx[i].bottom_pipe; in dcn20_populate_dml_pipes_from_context()
1660 split_pipe = split_pipe->bottom_pipe; in dcn20_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c888 pipe_ctx->bottom_pipe = NULL; in dcn35_plane_atomic_disable()

12