Home
last modified time | relevance | path

Searched refs:top_pipe (Results 1 - 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/basics/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1371 if (pipe_ctx->top_pipe) in dcn20_add_dsc_to_stream_resource()
1402 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()
1485 if (prev_odm_pipe->top_pipe && prev_odm_pipe->top_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm()
1486 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1487 next_odm_pipe->top_pipe = prev_odm_pipe->top_pipe->next_odm_pipe; in dcn20_split_stream_for_odm()
1490 prev_odm_pipe->bottom_pipe->next_odm_pipe->top_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1532 if (!next_odm_pipe->top_pipe) in dcn20_split_stream_for_odm()
1535 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe in dcn20_split_stream_for_odm()
[all...]
H A Ddcn20_hwseq.c615 pipe_ctx->top_pipe = NULL; in dcn20_plane_atomic_disable()
703 if (pipe_ctx->top_pipe != NULL) in dcn20_enable_stream_timing()
860 * pipe_ctx->top_pipe == NULL ,but then fix the diagnostic. in dcn20_set_output_transfer_func()
864 if (pipe_ctx->top_pipe == NULL in dcn20_set_output_transfer_func()
1211 if (!pipe_ctx->top_pipe in dcn20_enable_plane()
1233 if (!pipe || pipe->top_pipe) in dcn20_pipe_control_lock()
1350 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1383 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1669 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_resource_helpers.c144 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
150 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_merge_pipes_for_subvp()
151 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn32_merge_pipes_for_subvp() local
154 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp()
156 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp()
158 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c595 pipe_ctx->top_pipe = NULL; in dcn20_plane_atomic_disable()
665 if (pipe_ctx->top_pipe != NULL) in dcn20_enable_stream_timing()
810 * pipe_ctx->top_pipe == NULL ,but then fix the diagnostic. in dcn20_set_output_transfer_func()
814 if (pipe_ctx->top_pipe == NULL in dcn20_set_output_transfer_func()
1171 if (!pipe || pipe->top_pipe) in dcn20_pipe_control_lock()
1248 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1265 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1510 if (enable_remap_dpp && pipe_ctx->top_pipe == NULL) { in dcn20_update_dchubp_dpp()
1576 && !pipe_ctx->top_pipe && !pipe_ctx->prev_odm_pipe) in dcn20_program_pipe()
1666 if (!pipe_ctx->top_pipe in dcn20_program_front_end_for_ctx()
2242 struct pipe_ctx *top_pipe = pipe_ctx; dcn20_get_mpctree_visual_confirm_color() local
[all...]
H A Ddcn20_resource.c1757 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()
1889 ASSERT(next_odm_pipe->top_pipe == NULL); in dcn20_split_stream_for_odm()
1961 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in dcn20_split_stream_for_mpc()
1964 secondary_pipe->top_pipe = primary_pipe; in dcn20_split_stream_for_mpc()
2107 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state
2109 struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].top_pipe;
2112 while (first_pipe->top_pipe && first_pipe->top_pipe->plane_state
2114 first_pipe = first_pipe->top_pipe;
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c744 other_pipe = pipe->top_pipe; in resource_get_num_mpc_splits()
747 other_pipe = other_pipe->top_pipe; in resource_get_num_mpc_splits()
784 struct pipe_ctx *split_pipe = pipe_ctx->top_pipe; in get_mpc_split_index()
789 split_pipe = split_pipe->top_pipe; in get_mpc_split_index()
1491 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->plane_state == plane_state) { in resource_build_scaling_params()
1718 ASSERT(!pipe_ctx->top_pipe); in resource_is_pipe_type()
1720 } else if (pipe_ctx->top_pipe) { in resource_is_pipe_type()
1732 !pipe_ctx->top_pipe && in resource_is_pipe_type()
1735 return !pipe_ctx->top_pipe in resource_is_pipe_type()
[all...]
H A Ddc_hw_sequencer.c319 struct pipe_ctx *top_pipe = pipe_ctx; in get_mpctree_visual_confirm_color() local
321 while (top_pipe->top_pipe) in get_mpctree_visual_confirm_color()
322 top_pipe = top_pipe->top_pipe; in get_mpctree_visual_confirm_color()
324 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color()
387 while (top_pipe_ctx->top_pipe != NULL) in get_hdr_visual_confirm_color()
388 top_pipe_ctx = top_pipe_ctx->top_pipe; in get_hdr_visual_confirm_color()
H A Ddc.c544 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_crc_window()
1119 if ((context->res_ctx.pipe_ctx[i].top_pipe) && in disable_dangling_plane()
1120 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) in disable_dangling_plane()
1121 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe->pipe_idx != in disable_dangling_plane()
1122 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; in disable_dangling_plane()
1124 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe != in disable_dangling_plane()
1125 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; in disable_dangling_plane()
1137 if (old_stream && !dc->current_state->res_ctx.pipe_ctx[i].top_pipe && in disable_dangling_plane()
1431 || ctx->res_ctx.pipe_ctx[i].top_pipe in program_timing_sync()
2248 if (cur_pipe->top_pipe) in dc_copy_state()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c601 other_pipe = pipe->top_pipe; in get_num_mpc_splits()
604 other_pipe = other_pipe->top_pipe; in get_num_mpc_splits()
632 struct pipe_ctx *split_pipe = pipe_ctx->top_pipe; in calculate_split_count_and_index()
637 split_pipe = split_pipe->top_pipe; in calculate_split_count_and_index()
779 bool sec_split_tb = pipe_ctx->top_pipe && in calculate_recout()
780 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state && in calculate_recout()
1324 && !res_ctx->pipe_ctx[i].top_pipe in resource_get_head_pipe_for_stream()
1392 if (split_pipe->top_pipe && in acquire_first_split_pipe()
1393 split_pipe->top_pipe->plane_state == split_pipe->plane_state) { in acquire_first_split_pipe()
1394 split_pipe->top_pipe in acquire_first_split_pipe()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c102 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
795 if (pipe_ctx->top_pipe != NULL) in dcn10_enable_stream_timing()
920 if (pipe_ctx->top_pipe == NULL) { in dcn10_reset_back_end_for_pipe()
1133 pipe_ctx->top_pipe = NULL; in dcn10_plane_atomic_disable()
1517 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap()
1537 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
1538 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
1714 if (!pipe || pipe->top_pipe) in dcn10_pipe_control_lock()
1797 if (!pipe || pipe->top_pipe) in dcn10_cursor_lock()
2214 if (pipe_ctx->top_pipe) { in dcn10_is_rear_mpo_fix_required()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c1547 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1548 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1549 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm()
1552 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1558 if (!sec_pipe->top_pipe) in dcn30_split_stream_for_mpc_or_odm()
1561 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; in dcn30_split_stream_for_mpc_or_odm()
1572 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1575 sec_pipe->top_pipe in dcn30_split_stream_for_mpc_or_odm()
1746 struct pipe_ctx *top_pipe = pipe->top_pipe; dcn30_internal_validate_bw() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c638 if (pipe->stream && !pipe->top_pipe) { in dcn32_get_num_free_pipes()
699 if (pipe->plane_state && !pipe->top_pipe && !dcn32_is_center_timing(pipe) && in dcn32_assign_subvp_pipe()
812 if (pipe->stream && pipe->plane_state && !pipe->top_pipe && in subvp_subvp_schedulable()
1054 if (pipe->plane_state && !pipe->top_pipe && in subvp_subvp_admissable()
1108 if (pipe->plane_state && !pipe->top_pipe) { in subvp_validate_static_schedulability()
1443 (context->res_ctx.pipe_ctx[i].top_pipe == NULL || in dcn32_calculate_dlg_params()
1444 context->res_ctx.pipe_ctx[i].plane_state != context->res_ctx.pipe_ctx[i].top_pipe->plane_state) && in dcn32_calculate_dlg_params()
1525 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn32_find_split_pipe()
1601 if (pri_pipe->top_pipe && pri_pipe->top_pipe in dcn32_split_stream_for_mpc_or_odm()
1788 struct pipe_ctx *top_pipe = pipe->top_pipe; dcn32_internal_validate_bw() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_resource.c42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) { in link_get_cur_link_res()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c111 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
885 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group()
914 if (pipe_ctx->top_pipe != NULL) in dcn10_enable_stream_timing()
1046 if (pipe_ctx->top_pipe == NULL) { in dcn10_reset_back_end_for_pipe()
1286 pipe_ctx->top_pipe = NULL; in dcn10_plane_atomic_disable()
1678 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap()
1698 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
1699 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
1880 if (!pipe || pipe->top_pipe) in dcn10_pipe_control_lock()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/
H A 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()
530 if (pipe->top_pipe) in dcn201_pipe_control_lock()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
H A Ddcn_calcs.c311 } else if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params()
543 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; in split_stream_across_pipes()
546 secondary_pipe->top_pipe = primary_pipe; in split_stream_across_pipes()
914 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) in dcn_validate_bandwidth()
1221 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) in dcn_validate_bandwidth()
1286 hsplit_pipe->bottom_pipe->top_pipe = pipe; in dcn_validate_bandwidth()
1289 hsplit_pipe->top_pipe in dcn_validate_bandwidth()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A 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 in dcn_validate_bandwidth()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c311 if (split_pipe->stream == head_pipe->stream && (split_pipe->top_pipe || split_pipe->prev_odm_pipe)) { in dc_dmub_srv_populate_fams_pipe_info()
855 for (test_pipe = pipe_ctx->top_pipe; test_pipe; in dc_can_pipe_disable_cursor()
856 test_pipe = test_pipe->top_pipe) { in dc_can_pipe_disable_cursor()
870 for (split_pipe = pipe_ctx->top_pipe; split_pipe; in dc_can_pipe_disable_cursor()
871 split_pipe = split_pipe->top_pipe) in dc_can_pipe_disable_cursor()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c1890 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1893 sec_pipe->top_pipe = pri_pipe; in dcn30_split_stream_for_mpc_or_odm()
1916 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn30_find_split_pipe()
2062 pipe->top_pipe = NULL; in dcn30_internal_validate_bw()
2069 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn30_internal_validate_bw()
2070 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn30_internal_validate_bw() local
2073 top_pipe->bottom_pipe = bottom_pipe; in dcn30_internal_validate_bw()
2075 bottom_pipe->top_pipe in dcn30_internal_validate_bw()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_hwseq.c402 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn314_resync_fifo_dccg_dio()
456 if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe == NULL) { in apply_symclk_on_tx_off_wa()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1419 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state in dcn20_populate_dml_pipes_from_context()
1421 struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context()
1424 while (first_pipe->top_pipe && first_pipe->top_pipe->plane_state in dcn20_populate_dml_pipes_from_context()
1426 first_pipe = first_pipe->top_pipe; in dcn20_populate_dml_pipes_from_context()
1435 pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; in dcn20_populate_dml_pipes_from_context()
1585 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context()
1654 split_pipe = res_ctx->pipe_ctx[i].top_pipe; in dcn20_populate_dml_pipes_from_context()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hwseq.c514 ASSERT(!pipe_ctx->top_pipe); in dcn31_reset_back_end_for_pipe()
581 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c1967 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap()
2049 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2076 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2125 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) in dce110_apply_ctx_to_hw()
2161 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dce110_apply_ctx_to_hw()
2781 if (pipe_ctx->top_pipe && pipe_ctx->plane_state != pipe_ctx->top_pipe->plane_state) in dce110_set_cursor_position()

Completed in 50 milliseconds

12