Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1388 if (pipe_ctx->top_pipe) in dcn20_add_dsc_to_stream_resource()
1419 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()
1502 if (prev_odm_pipe->top_pipe && prev_odm_pipe->top_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm()
1503 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1504 next_odm_pipe->top_pipe = prev_odm_pipe->top_pipe->next_odm_pipe; in dcn20_split_stream_for_odm()
1507 prev_odm_pipe->bottom_pipe->next_odm_pipe->top_pipe = next_odm_pipe; in dcn20_split_stream_for_odm()
1520 if (!next_odm_pipe->top_pipe) in dcn20_split_stream_for_odm()
1523 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe->stream_res.opp; in dcn20_split_stream_for_odm()
1524 if (next_odm_pipe->stream->timing.flags.DSC == 1 && !next_odm_pipe->top_pipe) { in dcn20_split_stream_for_odm()
1557 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.c129 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
135 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_merge_pipes_for_subvp()
136 struct pipe_ctx *top_pipe = pipe->top_pipe; in dcn32_merge_pipes_for_subvp() local
139 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp()
141 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp()
143 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
H A Ddcn32_resource.c1649 if (curr_pipe->top_pipe && curr_pipe->top_pipe->plane_state == curr_pipe->plane_state) in dcn32_enable_phantom_plane()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1632 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->plane_state == plane_state) { in resource_build_scaling_params()
1699 for (test_pipe = pipe_ctx->top_pipe; test_pipe; in resource_can_pipe_disable_cursor()
1700 test_pipe = test_pipe->top_pipe) { in resource_can_pipe_disable_cursor()
1718 for (split_pipe = pipe_ctx->top_pipe; split_pipe; in resource_can_pipe_disable_cursor()
1719 split_pipe = split_pipe->top_pipe) in resource_can_pipe_disable_cursor()
1981 !pipe_ctx->top_pipe && in resource_is_pipe_type()
1984 return !pipe_ctx->top_pipe && pipe_ctx->stream; in resource_is_pipe_type()
2063 pipe->top_pipe->plane_state != plane) in resource_get_dpp_pipes_for_plane()
2097 while (opp_head->top_pipe) in resource_get_opp_head()
2098 opp_head = opp_head->top_pipe; in resource_get_opp_head()
[all …]
H A Ddc_hw_sequencer.c331 struct pipe_ctx *top_pipe = pipe_ctx; in get_mpctree_visual_confirm_color() local
333 while (top_pipe->top_pipe) in get_mpctree_visual_confirm_color()
334 top_pipe = top_pipe->top_pipe; in get_mpctree_visual_confirm_color()
336 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color()
399 while (top_pipe_ctx->top_pipe != NULL) in get_hdr_visual_confirm_color()
400 top_pipe_ctx = top_pipe_ctx->top_pipe; in get_hdr_visual_confirm_color()
2321 struct pipe_ctx *top_pipe = pipe_ctx; in hwss_dsc_calculate_and_set_config() local
2334 while (top_pipe->prev_odm_pipe) in hwss_dsc_calculate_and_set_config()
2335 top_pipe = top_pipe->prev_odm_pipe; in hwss_dsc_calculate_and_set_config()
2337 …dsc_cfg.pic_width = (stream->timing.h_addressable + top_pipe->dsc_padding_params.dsc_hactive_paddi… in hwss_dsc_calculate_and_set_config()
[all …]
H A Ddc_state.c154 if (cur_pipe->top_pipe) in dc_state_copy_internal()
155 cur_pipe->top_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_state_copy_internal()
H A Ddc.c605 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_crc_window()
671 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_multiple_crc_window()
1343 if ((context->res_ctx.pipe_ctx[i].top_pipe) && in disable_dangling_plane()
1344 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) in disable_dangling_plane()
1345 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe->pipe_idx != in disable_dangling_plane()
1346 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; in disable_dangling_plane()
1348 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe != in disable_dangling_plane()
1349 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; in disable_dangling_plane()
1361 if (old_stream && !dc->current_state->res_ctx.pipe_ctx[i].top_pipe && in disable_dangling_plane()
1637 || ctx->res_ctx.pipe_ctx[i].top_pipe in program_timing_sync()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1545 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1546 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1547 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm()
1550 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1556 if (!sec_pipe->top_pipe) in dcn30_split_stream_for_mpc_or_odm()
1559 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; in dcn30_split_stream_for_mpc_or_odm()
1570 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1573 sec_pipe->top_pipe = pri_pipe; in dcn30_split_stream_for_mpc_or_odm()
1596 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn30_find_split_pipe()
1738 pipe->top_pipe = NULL; in dcn30_internal_validate_bw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c846 if (!pipe_ctx->top_pipe in dcn35_enable_plane()
887 pipe_ctx->top_pipe = NULL; in dcn35_plane_atomic_disable()
967 if (!pipe_ctx->top_pipe && pipe_ctx->plane_res.hubp && in dcn35_calc_blocks_to_gate()
1123 if (new_pipe->stream_res.dsc && !new_pipe->top_pipe && in dcn35_calc_blocks_to_ungate()
1623 const struct pipe_ctx *top_pipe = resource_get_otg_master(pipe); in dcn35_begin_cursor_offload_update() local
1626 if (!top_pipe) in dcn35_begin_cursor_offload_update()
1629 stream_idx = top_pipe->pipe_idx; in dcn35_begin_cursor_offload_update()
1647 const struct pipe_ctx *top_pipe = resource_get_otg_master(pipe); in dcn35_commit_cursor_offload_update() local
1656 if (!top_pipe) in dcn35_commit_cursor_offload_update()
1659 stream_idx = top_pipe->pipe_idx; in dcn35_commit_cursor_offload_update()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c128 if (pipe_ctx->top_pipe == NULL) { in dcn401_program_gamut_remap()
1032 if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe == NULL) { in disable_link_output_symclk_on_tx_off()
1105 if ((pipe_ctx->top_pipe != NULL) || (pipe_ctx->bottom_pipe != NULL)) { in dcn401_set_cursor_position()
1188 pipe_ctx->top_pipe && in dcn401_set_cursor_position()
1189 (pipe_ctx == pipe_ctx->top_pipe->bottom_pipe)) { in dcn401_set_cursor_position()
1352 const struct pipe_ctx *top_pipe) in dcn401_wait_for_dcc_meta_propagation() argument
1355 const struct pipe_ctx *pipe_ctx = top_pipe; in dcn401_wait_for_dcc_meta_propagation()
2002 if (pipe_ctx->top_pipe == NULL) { in dcn401_reset_back_end_for_pipe()
2038 pipe_ctx->top_pipe = NULL; in dcn401_reset_back_end_for_pipe()
2062 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn401_reset_hw_ctx_wrap()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c727 pipe_ctx->top_pipe = NULL; in dcn20_plane_atomic_disable()
849 if (pipe_ctx->top_pipe != NULL) in dcn20_enable_stream_timing()
1029 if (pipe_ctx->top_pipe == NULL in dcn20_set_output_transfer_func()
1365 if (!pipe_ctx->top_pipe in dcn20_enable_plane()
1387 if (!pipe || pipe->top_pipe) in dcn20_pipe_control_lock()
1523 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { in dcn20_detect_pipe_changes()
1875 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in dcn20_calculate_vready_offset_for_group()
1933 if (pipe_ctx->update_flags.bits.global_sync && !pipe_ctx->top_pipe in dcn20_program_pipe()
2102 && !context->res_ctx.pipe_ctx[i].top_pipe in dcn20_program_front_end_for_ctx()
2152 if (pipe->plane_state && !pipe->top_pipe) { in dcn20_program_front_end_for_ctx()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c238 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
1163 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { in calculate_vready_offset_for_group()
1192 if (pipe_ctx->top_pipe != NULL) in dcn10_enable_stream_timing()
1325 if (pipe_ctx->top_pipe == NULL) { in dcn10_reset_back_end_for_pipe()
1549 pipe_ctx->top_pipe = NULL; in dcn10_plane_atomic_disable()
1963 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap()
1983 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
1984 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
2158 if (!pipe || pipe->top_pipe) in dcn10_pipe_control_lock()
2242 if (!pipe || pipe->top_pipe) in dcn10_cursor_lock()
[all …]
/linux/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 = NULL; in dcn_validate_bandwidth()
/linux/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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c63 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
64 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
537 if (pipe->top_pipe) in dcn201_pipe_control_lock()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c521 ASSERT(!pipe_ctx->top_pipe); in dcn31_reset_back_end_for_pipe()
555 if (pipe_ctx->top_pipe == NULL) { in dcn31_reset_back_end_for_pipe()
627 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c2301 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap()
2385 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2423 if (pipe_ctx->top_pipe) in dce110_setup_audio_dto()
2477 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) in dce110_apply_ctx_to_hw()
2517 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dce110_apply_ctx_to_hw()
3149 if (pipe_ctx->top_pipe && pipe_ctx->plane_state != pipe_ctx->top_pipe->plane_state) in dce110_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c855 …if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { in dcn21_fast_validate_bw()
869 if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state) in dcn21_fast_validate_bw()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h477 struct pipe_ctx *top_pipe; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c382 if (pipe_ctx->top_pipe == NULL) { in dcn30_program_gamut_remap()
404 if (pipe_ctx->top_pipe == NULL) { in dcn30_set_output_transfer_func()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c196 if (pipe_ctx->top_pipe) in get_max_pixel_clock_for_all_paths()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1560 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn32_disable_phantom_streams()
1620 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dcn32_enable_phantom_streams()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1658 …if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state != res_ctx->pipe_c… in allow_pixel_rate_crb()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1254 if (pipes[i].stream->link == link && !pipes[i].top_pipe && in dm_helpers_dp_handle_test_pattern_request()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c211 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn35_disable_otg_wa()

12