/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_hw_sequencer.c | 306 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() 374 while (top_pipe_ctx->top_pipe != NULL) in get_hdr_visual_confirm_color() 375 top_pipe_ctx = top_pipe_ctx->top_pipe; in get_hdr_visual_confirm_color()
|
A D | dc_resource.c | 730 other_pipe = pipe->top_pipe; in get_num_mpc_splits() 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() 1218 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->plane_state == plane_state) { in resource_build_scaling_params() 1433 split_pipe->bottom_pipe->top_pipe = split_pipe->top_pipe; in acquire_first_split_pipe() 1726 if (pipe_ctx->top_pipe) in dc_remove_plane_from_context() 1734 pipe_ctx->bottom_pipe->top_pipe = pipe_ctx->top_pipe; in dc_remove_plane_from_context() 1740 if (!pipe_ctx->top_pipe) in dc_remove_plane_from_context() 3355 if (cur_pipe->top_pipe) in dc_resource_state_copy_construct() 3356 cur_pipe->top_pipe = &dst_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_resource_state_copy_construct() [all …]
|
A D | dc.c | 1052 if (!pipe_ctx->top_pipe && in apply_ctx_interdependent_lock() 1079 if ((context->res_ctx.pipe_ctx[i].top_pipe) && in disable_dangling_plane() 1080 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) in disable_dangling_plane() 1082 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; in disable_dangling_plane() 1085 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; in disable_dangling_plane() 1382 || ctx->res_ctx.pipe_ctx[i].top_pipe in program_timing_sync() 2199 if (cur_pipe->top_pipe) in dc_copy_state() 2200 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state() 2662 if (pipe && pipe->top_pipe && (get_num_odm_splits(pipe->top_pipe) > 0) && stream in check_boundary_crossing_for_windowed_mpo_with_odm() 3398 if (!pipe_ctx->top_pipe && in commit_planes_for_stream() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/basics/ |
A D | dc_common.c | 65 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_resource_helpers.c | 150 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp() 156 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_merge_pipes_for_subvp() 157 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn32_merge_pipes_for_subvp() local 160 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp() 162 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp() 164 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
|
A D | dcn32_hwseq.c | 544 if (pipe_ctx->top_pipe == NULL) { in dcn32_set_output_transfer_func() 1219 if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe == NULL) { in apply_symclk_on_tx_off_wa() 1311 if (!phantom_pipe->top_pipe && !phantom_pipe->prev_odm_pipe) { in dcn32_apply_update_flags_for_phantom()
|
A D | dcn32_resource.c | 1662 if (curr_pipe->top_pipe && curr_pipe->top_pipe->plane_state == curr_pipe->plane_state) in dcn32_enable_phantom_plane() 1733 if (!pipe->top_pipe && !pipe->prev_odm_pipe && in dcn32_retain_phantom_pipes()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_resource.c | 1392 if (pipe_ctx->top_pipe) in dcn20_add_dsc_to_stream_resource() 1506 if (prev_odm_pipe->top_pipe && prev_odm_pipe->top_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm() 1508 next_odm_pipe->top_pipe = prev_odm_pipe->top_pipe->next_odm_pipe; in dcn20_split_stream_for_odm() 1553 if (!next_odm_pipe->top_pipe) in dcn20_split_stream_for_odm() 1812 odm_pipe->top_pipe = NULL; in dcn20_merge_pipes_for_validate() 1840 hsplit_pipe->top_pipe = NULL; in dcn20_merge_pipes_for_validate() 1888 (!pipe->top_pipe || pipe->top_pipe->plane_state != pipe->plane_state)) in dcn20_validate_apply_pipe_split_flags() 1978 else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) in dcn20_validate_apply_pipe_split_flags() 1982 if (split[i] == 2 && ((pipe->top_pipe && !pipe->top_pipe->top_pipe) in dcn20_validate_apply_pipe_split_flags() 2020 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn20_validate_apply_pipe_split_flags() [all …]
|
A D | dcn20_hwseq.c | 602 pipe_ctx->top_pipe = NULL; in dcn20_plane_atomic_disable() 690 if (pipe_ctx->top_pipe != NULL) in dcn20_enable_stream_timing() 851 if (pipe_ctx->top_pipe == NULL in dcn20_set_output_transfer_func() 1214 if (!pipe_ctx->top_pipe in dcn20_enable_plane() 1236 if (!pipe || pipe->top_pipe) in dcn20_pipe_control_lock() 1676 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group() 1843 && !context->res_ctx.pipe_ctx[i].top_pipe in dcn20_program_front_end_for_ctx() 1905 !pipe->top_pipe && in dcn20_program_front_end_for_ctx() 2133 if (pipe_ctx->top_pipe == NULL) { in dcn20_update_bandwidth() 2329 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
A D | dcn32_fpu.c | 1554 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1556 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() 1564 ASSERT(sec_pipe->top_pipe == NULL); in dcn32_split_stream_for_mpc_or_odm() 1566 if (!sec_pipe->top_pipe) in dcn32_split_stream_for_mpc_or_odm() 1583 sec_pipe->top_pipe = pri_pipe; in dcn32_split_stream_for_mpc_or_odm() 1724 if (pipe->top_pipe) { in dcn32_internal_validate_bw() 1732 pipe->top_pipe = NULL; in dcn32_internal_validate_bw() 1740 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_internal_validate_bw() 1741 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn32_internal_validate_bw() local 1746 bottom_pipe->top_pipe = top_pipe; in dcn32_internal_validate_bw() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_resource.c | 1567 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1569 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1578 if (!sec_pipe->top_pipe) in dcn30_split_stream_for_mpc_or_odm() 1592 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1595 sec_pipe->top_pipe = pri_pipe; in dcn30_split_stream_for_mpc_or_odm() 1758 pipe->top_pipe = NULL; in dcn30_internal_validate_bw() 1765 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn30_internal_validate_bw() 1766 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn30_internal_validate_bw() local 1769 top_pipe->bottom_pipe = bottom_pipe; in dcn30_internal_validate_bw() 1771 bottom_pipe->top_pipe = top_pipe; in dcn30_internal_validate_bw() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hw_sequencer.c | 111 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() 1278 pipe_ctx->top_pipe = NULL; in dcn10_plane_atomic_disable() 1692 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap() 1891 if (!pipe || pipe->top_pipe) in dcn10_pipe_control_lock() 1974 if (!pipe || pipe->top_pipe) in dcn10_cursor_lock() 2483 if (!pipe_ctx->top_pipe in dcn10_enable_plane() 2519 if (pipe_ctx->top_pipe) { in dcn10_is_rear_mpo_fix_required() 2522 while (top->top_pipe) in dcn10_is_rear_mpo_fix_required() 2992 if (pipe_ctx->top_pipe || in dcn10_wait_for_pending_cleared() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_dmub_srv.c | 530 if (!pipe->stream || !pipe->plane_state || pipe->top_pipe || pipe->prev_odm_pipe) in populate_subvp_cmd_vblank_pipe_info() 732 if (pipe->plane_state && !pipe->top_pipe && !pipe->prev_odm_pipe && in dc_dmub_setup_subvp_dmub_command() 750 !pipe->top_pipe && !pipe->prev_odm_pipe && in dc_dmub_setup_subvp_dmub_command() 884 for (test_pipe = pipe_ctx->top_pipe; test_pipe; in dc_can_pipe_disable_cursor() 885 test_pipe = test_pipe->top_pipe) { in dc_can_pipe_disable_cursor() 899 for (split_pipe = pipe_ctx->top_pipe; split_pipe; in dc_can_pipe_disable_cursor() 900 split_pipe = split_pipe->top_pipe) in dc_can_pipe_disable_cursor()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/ |
A D | link_resource.c | 42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) { in link_get_cur_link_res()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
A D | dcn_calcs.c | 312 } 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A D | dcn20_fpu.c | 1314 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state in dcn20_populate_dml_pipes_from_context() 1316 struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context() 1319 while (first_pipe->top_pipe && first_pipe->top_pipe->plane_state in dcn20_populate_dml_pipes_from_context() 1321 first_pipe = first_pipe->top_pipe; in dcn20_populate_dml_pipes_from_context() 1330 pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; in dcn20_populate_dml_pipes_from_context() 1481 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context() 1549 split_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context() 1552 split_pipe = split_pipe->top_pipe; in dcn20_populate_dml_pipes_from_context()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_hwseq.c | 60 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hwseq.c | 541 ASSERT(!pipe_ctx->top_pipe); in dcn31_reset_back_end_for_pipe() 611 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/ |
A D | core_types.h | 412 struct pipe_ctx *top_pipe; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_hw_sequencer.c | 2075 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 2158 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto() 2196 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto() 2248 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) in dce110_apply_ctx_to_hw() 2284 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dce110_apply_ctx_to_hw() 2904 if (pipe_ctx->top_pipe && pipe_ctx->plane_state != pipe_ctx->top_pipe->plane_state) in dce110_set_cursor_position()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
A D | dce_clk_mgr.c | 177 if (pipe_ctx->top_pipe) in dce_get_max_pixel_clock_for_all_paths()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_resource.c | 896 …if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { in dcn21_fast_validate_bw() 910 if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state) in dcn21_fast_validate_bw()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
A D | dcn316_clk_mgr.c | 123 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn316_disable_otg_wa()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/accessories/ |
A D | link_dp_cts.c | 676 if (pipes[i].stream->link == link && !pipes[i].top_pipe && !pipes[i].prev_odm_pipe) { in dc_link_dp_set_test_pattern()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
A D | dcn315_clk_mgr.c | 108 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn315_disable_otg_wa()
|