Home
last modified time | relevance | path

Searched refs:top_pipe (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c306 struct pipe_ctx *top_pipe = pipe_ctx; in get_mpctree_visual_confirm_color() local
308 while (top_pipe->top_pipe) in get_mpctree_visual_confirm_color()
309 top_pipe = top_pipe->top_pipe; in get_mpctree_visual_confirm_color()
311 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color()
373 while (top_pipe_ctx->top_pipe != NULL) in get_hdr_visual_confirm_color()
374 top_pipe_ctx = top_pipe_ctx->top_pipe; in get_hdr_visual_confirm_color()
Ddc_resource.c730 other_pipe = pipe->top_pipe; in get_num_mpc_splits()
733 other_pipe = other_pipe->top_pipe; in get_num_mpc_splits()
761 struct pipe_ctx *split_pipe = pipe_ctx->top_pipe; in calculate_split_count_and_index()
766 split_pipe = split_pipe->top_pipe; in calculate_split_count_and_index()
818 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->prev_odm_pipe && !pipe_ctx->prev_odm_pipe) { in calculate_recout()
1020 else if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->prev_odm_pipe) in calculate_inits_and_viewports()
1136 …else if (pipe_ctx->top_pipe && (pipe_ctx->top_pipe->next_odm_pipe || pipe_ctx->top_pipe->prev_odm_… in resource_build_scaling_params()
1138 pipe_ctx->plane_res.scl_data.h_active /= get_num_odm_splits(pipe_ctx->top_pipe) + 1; in resource_build_scaling_params()
1143 pipe_ctx->top_pipe->pipe_idx, in resource_build_scaling_params()
1144 pipe_ctx->top_pipe->next_odm_pipe ? pipe_ctx->top_pipe->next_odm_pipe->pipe_idx : -1, in resource_build_scaling_params()
[all …]
Ddc.c518 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_dmcu_crc_window()
552 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_stop_dmcu_crc_win_update()
597 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_configure_crc()
1060 if (!pipe_ctx->top_pipe && in apply_ctx_interdependent_lock()
1086 if ((context->res_ctx.pipe_ctx[i].top_pipe) && in disable_dangling_plane()
1087 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) in disable_dangling_plane()
1088 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe->pipe_idx != in disable_dangling_plane()
1089 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; in disable_dangling_plane()
1091 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe != in disable_dangling_plane()
1092 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; in disable_dangling_plane()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/basics/
Ddc_common.c65 if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe)) in is_upper_pipe_tree_visible()
74 if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe)) in is_pipe_tree_visible()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c170 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
176 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_merge_pipes_for_subvp()
177 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn32_merge_pipes_for_subvp() local
180 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp()
182 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp()
184 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
Ddcn32_hwseq.c651 if (pipe_ctx->top_pipe == NULL) { in dcn32_set_output_transfer_func()
1295 if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe == NULL) { in apply_symclk_on_tx_off_wa()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1413 if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) { in remove_dsc_from_stream_resource()
1480 if (prev_odm_pipe->top_pipe && prev_odm_pipe->top_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm()
1481 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1482 next_odm_pipe->top_pipe = prev_odm_pipe->top_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()
1527 if (!next_odm_pipe->top_pipe) in dcn20_split_stream_for_odm()
1530 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe->stream_res.opp; in dcn20_split_stream_for_odm()
1531 if (next_odm_pipe->stream->timing.flags.DSC == 1 && !next_odm_pipe->top_pipe) { in dcn20_split_stream_for_odm()
1564 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in dcn20_split_stream_for_mpc()
1567 secondary_pipe->top_pipe = primary_pipe; in dcn20_split_stream_for_mpc()
[all …]
Ddcn20_hwseq.c600 pipe_ctx->top_pipe = NULL; in dcn20_plane_atomic_disable()
679 if (pipe_ctx->top_pipe != NULL) in dcn20_enable_stream_timing()
840 if (pipe_ctx->top_pipe == NULL in dcn20_set_output_transfer_func()
1180 if (!pipe_ctx->top_pipe in dcn20_enable_plane()
1202 if (!pipe || pipe->top_pipe) in dcn20_pipe_control_lock()
1304 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1337 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1629 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group()
1654 && !pipe_ctx->top_pipe && !pipe_ctx->prev_odm_pipe) in dcn20_program_pipe()
1658 if (pipe_ctx->update_flags.bits.global_sync && !pipe_ctx->top_pipe in dcn20_program_pipe()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c615 if (pipe->stream && !pipe->top_pipe) { in dcn32_get_num_free_pipes()
677 if (pipe->plane_state && !pipe->top_pipe && in dcn32_assign_subvp_pipe()
740 if (pipe->stream && !pipe->top_pipe && in dcn32_enough_pipes_for_subvp()
793 if (pipe->stream && pipe->plane_state && !pipe->top_pipe && in subvp_subvp_schedulable()
870 if (!pipe->stream || !pipe->plane_state || pipe->top_pipe || pipe->prev_odm_pipe) in subvp_drr_schedulable()
951 if (!pipe->stream || !pipe->plane_state || pipe->top_pipe || pipe->prev_odm_pipe) in subvp_vblank_schedulable()
1026 if (pipe->plane_state && !pipe->top_pipe && in subvp_validate_static_schedulability()
1167 if (pipe->stream && pipe->plane_state && !pipe->top_pipe && in dcn32_full_validate_bw_helper()
1355 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn32_find_split_pipe()
1431 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1560 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1561 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1562 sec_pipe->top_pipe = pri_pipe->top_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()
1571 if (!sec_pipe->top_pipe) in dcn30_split_stream_for_mpc_or_odm()
1574 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; 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()
1588 sec_pipe->top_pipe = pri_pipe; in dcn30_split_stream_for_mpc_or_odm()
1611 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn30_find_split_pipe()
1749 pipe->top_pipe = NULL; in dcn30_internal_validate_bw()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c111 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
880 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group()
909 if (pipe_ctx->top_pipe != NULL) in dcn10_enable_stream_timing()
1043 if (pipe_ctx->top_pipe == NULL) { in dcn10_reset_back_end_for_pipe()
1278 pipe_ctx->top_pipe = NULL; in dcn10_plane_atomic_disable()
1692 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap()
1712 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
1713 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
1891 if (!pipe || pipe->top_pipe) in dcn10_pipe_control_lock()
1974 if (!pipe || pipe->top_pipe) in dcn10_cursor_lock()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c312 } else if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params()
545 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in split_stream_across_pipes()
548 secondary_pipe->top_pipe = primary_pipe; in split_stream_across_pipes()
899 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) in dcn_validate_bandwidth()
1206 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) in dcn_validate_bandwidth()
1271 hsplit_pipe->bottom_pipe->top_pipe = pipe; in dcn_validate_bandwidth()
1274 hsplit_pipe->top_pipe = NULL; in dcn_validate_bandwidth()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1270 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state in dcn20_populate_dml_pipes_from_context()
1272 struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context()
1275 while (first_pipe->top_pipe && first_pipe->top_pipe->plane_state in dcn20_populate_dml_pipes_from_context()
1277 first_pipe = first_pipe->top_pipe; in dcn20_populate_dml_pipes_from_context()
1286 pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; in dcn20_populate_dml_pipes_from_context()
1435 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context()
1503 split_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context()
1506 split_pipe = split_pipe->top_pipe; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c60 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
61 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
549 if (pipe->top_pipe) in dcn201_pipe_control_lock()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c530 if (!pipe->stream || !pipe->plane_state || pipe->top_pipe || pipe->prev_odm_pipe) in populate_subvp_cmd_vblank_pipe_info()
746 if (pipe->plane_state && !pipe->top_pipe && !pipe->prev_odm_pipe && in dc_dmub_setup_subvp_dmub_command()
764 !pipe->top_pipe && !pipe->prev_odm_pipe && in dc_dmub_setup_subvp_dmub_command()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c530 ASSERT(!pipe_ctx->top_pipe); in dcn31_reset_back_end_for_pipe()
600 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2094 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap()
2177 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2215 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2267 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) in dce110_apply_ctx_to_hw()
2303 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dce110_apply_ctx_to_hw()
2923 if (pipe_ctx->top_pipe && pipe_ctx->plane_state != pipe_ctx->top_pipe->plane_state) in dce110_set_cursor_position()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h426 struct pipe_ctx *top_pipe; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c177 if (pipe_ctx->top_pipe) in dce_get_max_pixel_clock_for_all_paths()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c895 …if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { in dcn21_fast_validate_bw()
909 if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state) in dcn21_fast_validate_bw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c123 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn316_disable_otg_wa()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c196 if (pipe_ctx->top_pipe) in get_max_pixel_clock_for_all_paths()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c115 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn31_disable_otg_wa()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c98 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn315_disable_otg_wa()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c137 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn314_disable_otg_wa()

12