Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/basics/
Ddc_common.c56 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_lower_pipe_tree_visible()
76 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_pipe_tree_visible()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1561 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1564 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1565 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1566 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm()
1582 if (pri_pipe->bottom_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1583 ASSERT(pri_pipe->bottom_pipe != sec_pipe); in dcn30_split_stream_for_mpc_or_odm()
1584 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn30_split_stream_for_mpc_or_odm()
1585 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1587 pri_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1712 struct pipe_ctx *mpo_pipe = pipe->bottom_pipe; in dcn30_internal_validate_bw()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c618 pipe = pipe->bottom_pipe; in dcn32_get_num_free_pipes()
682 pipe = pipe->bottom_pipe; in dcn32_assign_subvp_pipe()
745 pipe = pipe->bottom_pipe; in dcn32_enough_pipes_for_subvp()
1432 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm()
1435 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm()
1436 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm()
1437 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm()
1454 if (pri_pipe->bottom_pipe) { in dcn32_split_stream_for_mpc_or_odm()
1455 ASSERT(pri_pipe->bottom_pipe != sec_pipe); in dcn32_split_stream_for_mpc_or_odm()
1456 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn32_split_stream_for_mpc_or_odm()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c166 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
178 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in dcn32_merge_pipes_for_subvp() local
180 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp()
181 if (bottom_pipe) in dcn32_merge_pipes_for_subvp()
182 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp()
185 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
Ddcn32_resource.c1688 curr_pipe = curr_pipe->bottom_pipe; in dcn32_enable_phantom_plane()
2477 if ((old_primary_pipe->next_odm_pipe) && (old_primary_pipe->next_odm_pipe->bottom_pipe) in find_idle_secondary_pipe_check_mpo()
2478 && (!primary_pipe->bottom_pipe)) in find_idle_secondary_pipe_check_mpo()
2479 next_odm_mpo_pipe = old_primary_pipe->next_odm_pipe->bottom_pipe; in find_idle_secondary_pipe_check_mpo()
2528 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()
2529 idle_pipe = &res_ctx->pipe_ctx[pipe->bottom_pipe->pipe_idx]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
2530 idle_pipe->pipe_idx = pipe->bottom_pipe->pipe_idx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1481 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1484 if (prev_odm_pipe->bottom_pipe && prev_odm_pipe->bottom_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm()
1485 prev_odm_pipe->bottom_pipe->next_odm_pipe->top_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1486 next_odm_pipe->bottom_pipe = prev_odm_pipe->bottom_pipe->next_odm_pipe; in dcn20_split_stream_for_odm()
1548 struct pipe_ctx *sec_bot_pipe = secondary_pipe->bottom_pipe; in dcn20_split_stream_for_mpc()
1551 secondary_pipe->bottom_pipe = sec_bot_pipe; in dcn20_split_stream_for_mpc()
1561 if (primary_pipe->bottom_pipe && primary_pipe->bottom_pipe != secondary_pipe) { in dcn20_split_stream_for_mpc()
1562 ASSERT(!secondary_pipe->bottom_pipe); in dcn20_split_stream_for_mpc()
1563 secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; in dcn20_split_stream_for_mpc()
1564 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in dcn20_split_stream_for_mpc()
[all …]
Ddcn20_hwseq.c601 pipe_ctx->bottom_pipe = NULL; in dcn20_plane_atomic_disable()
1209 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock()
1213 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1233 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1240 if (lock && (pipe->bottom_pipe != NULL || !flip_immediate)) in dcn20_pipe_control_lock()
1248 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock()
1252 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock()
1625 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in calculate_vready_offset_for_group()
1818 pipe = pipe->bottom_pipe; in dcn20_program_front_end_for_ctx()
1911 pipe = pipe->bottom_pipe; in dcn20_post_unlock_program_front_end()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
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 …]
Ddce_calcs.c2805 if (!pipe[i].stream || !pipe[i].bottom_pipe) in populate_initial_data()
2882 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data()
2883 …data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.vi… in populate_initial_data()
2885 pipe[i].bottom_pipe->plane_state->plane_size.surface_pitch); in populate_initial_data()
2886 …data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()
2887 …data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()
2889 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2891 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2892 switch (pipe[i].bottom_pipe->plane_state->rotation) { in populate_initial_data()
2917 if (!pipe[i].stream || pipe[i].bottom_pipe) in populate_initial_data()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c724 struct pipe_ctx *other_pipe = pipe->bottom_pipe; in get_num_mpc_splits()
728 other_pipe = other_pipe->bottom_pipe; in get_num_mpc_splits()
1371 tail_pipe = head_pipe->bottom_pipe; in resource_get_tail_pipe()
1375 tail_pipe = tail_pipe->bottom_pipe; in resource_get_tail_pipe()
1431 split_pipe->top_pipe->bottom_pipe = split_pipe->bottom_pipe; in acquire_first_split_pipe()
1432 if (split_pipe->bottom_pipe) in acquire_first_split_pipe()
1433 split_pipe->bottom_pipe->top_pipe = split_pipe->top_pipe; in acquire_first_split_pipe()
1524 if (head_pipe->next_odm_pipe && tail_pipe->next_odm_pipe->bottom_pipe) { in dc_add_plane_to_context()
1557 if ((prev_right_head->bottom_pipe) && in dc_add_plane_to_context()
1558 (free_pipe->pipe_idx != prev_right_head->bottom_pipe->pipe_idx)) { in dc_add_plane_to_context()
[all …]
Ddc_hw_sequencer.c451 while (bottom_pipe_ctx->bottom_pipe != NULL) in get_surface_tile_visual_confirm_color()
452 bottom_pipe_ctx = bottom_pipe_ctx->bottom_pipe; in get_surface_tile_visual_confirm_color()
Ddc.c2091 if (cur_pipe->bottom_pipe) in dc_copy_state()
2092 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state()
3275 for (mpcc_pipe = top_pipe_to_program; mpcc_pipe; mpcc_pipe = mpcc_pipe->bottom_pipe) in commit_planes_for_stream()
3569 if (pipe_ctx->bottom_pipe || pipe_ctx->next_odm_pipe || in commit_planes_for_stream()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c679 if (subvp_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info()
680 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->bottom_pipe->pipe_idx; in populate_subvp_cmd_pipe_info()
693 if (phantom_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info()
694 … pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->bottom_pipe->pipe_idx; in populate_subvp_cmd_pipe_info()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h427 struct pipe_ctx *bottom_pipe; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c312 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != 0; in dce60_program_front_end_for_pipe()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1606 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in apply_single_controller_ctx_to_hw()
2373 if (pipe_ctx->bottom_pipe) { in program_surface_visibility()
2376 ASSERT(pipe_ctx->bottom_pipe->bottom_pipe == NULL); in program_surface_visibility()
2378 if (pipe_ctx->bottom_pipe->plane_state->visible) { in program_surface_visibility()
2725 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in dce110_program_front_end_for_pipe()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c876 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in calculate_vready_offset_for_group()
1279 pipe_ctx->bottom_pipe = NULL; in dcn10_plane_atomic_disable()
2607 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn10_update_mpcc()
2684 pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in update_scaler()
3424 if ((pipe_ctx->top_pipe != NULL) || (pipe_ctx->bottom_pipe != NULL)) { in dcn10_set_cursor_position()
3564 if (pipe_ctx->bottom_pipe) { in dcn10_set_cursor_position()
3566 pipe_ctx->bottom_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1434 …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()
1497 struct pipe_ctx *split_pipe = res_ctx->pipe_ctx[i].bottom_pipe; in dcn20_populate_dml_pipes_from_context()
1501 split_pipe = split_pipe->bottom_pipe; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c864 struct pipe_ctx *mpo_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw()
888 struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c439 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn201_update_mpcc()