Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_dc_resource_mgmt.c115 if (!state->res_ctx.pipe_ctx[i].prev_odm_pipe && !state->res_ctx.pipe_ctx[i].top_pipe) in find_master_pipe_of_stream()
158 && (!pipe->top_pipe || pipe->top_pipe->plane_state != pipe->plane_state)) { in find_pipes_assigned_to_plane()
574 struct pipe_ctx *top_pipe) in add_plane_to_blend_tree() argument
581 if (top_pipe) in add_plane_to_blend_tree()
582 …top_pipe->bottom_pipe = &state->res_ctx.pipe_ctx[pipe_pool->pipes_assigned_to_plane[odm_slice][i]]; in add_plane_to_blend_tree()
586 state->res_ctx.pipe_ctx[pipe_pool->pipes_assigned_to_plane[odm_slice][i]].top_pipe = top_pipe; in add_plane_to_blend_tree()
589 top_pipe = &state->res_ctx.pipe_ctx[pipe_pool->pipes_assigned_to_plane[odm_slice][i]]; in add_plane_to_blend_tree()
594 return top_pipe; in add_plane_to_blend_tree()
605 …if (pipe->stream && pipe->stream->stream_id == stream_id && !pipe->top_pipe && !pipe->prev_odm_pip… in find_pipes_assigned_to_stream()
739 if (pipe->top_pipe) in remove_pipes_from_blend_trees()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1713 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->plane_state == plane_state) { in resource_build_scaling_params()
1780 for (test_pipe = pipe_ctx->top_pipe; test_pipe; in resource_can_pipe_disable_cursor()
1781 test_pipe = test_pipe->top_pipe) { in resource_can_pipe_disable_cursor()
1799 for (split_pipe = pipe_ctx->top_pipe; split_pipe; in resource_can_pipe_disable_cursor()
1800 split_pipe = split_pipe->top_pipe) { in resource_can_pipe_disable_cursor()
2070 !pipe_ctx->top_pipe && in resource_is_pipe_type()
2073 return !pipe_ctx->top_pipe && pipe_ctx->stream; in resource_is_pipe_type()
2152 pipe->top_pipe->plane_state != plane) in resource_get_dpp_pipes_for_plane()
2186 while (opp_head->top_pipe) in resource_get_opp_head()
2187 opp_head = opp_head->top_pipe; in resource_get_opp_head()
[all …]
H A Ddc.c538 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_crc_window()
604 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) in dc_stream_forward_multiple_crc_window()
841 .is_top_pipe = pipes->top_pipe == NULL, in dc_stream_set_gamut_remap()
1411 if ((context->res_ctx.pipe_ctx[i].top_pipe) && in disable_dangling_plane()
1412 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) in disable_dangling_plane()
1413 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe->pipe_idx != in disable_dangling_plane()
1414 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; in disable_dangling_plane()
1416 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe != in disable_dangling_plane()
1417 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; in disable_dangling_plane()
1429 if (old_stream && !dc->current_state->res_ctx.pipe_ctx[i].top_pipe && in disable_dangling_plane()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1707 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm()
1708 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1709 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm()
1712 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1718 if (!sec_pipe->top_pipe) in dcn30_split_stream_for_mpc_or_odm()
1721 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; in dcn30_split_stream_for_mpc_or_odm()
1732 sec_pipe->bottom_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm()
1735 sec_pipe->top_pipe = pri_pipe; in dcn30_split_stream_for_mpc_or_odm()
1758 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL in dcn30_find_split_pipe()
1903 pipe->top_pipe = NULL; in dcn30_internal_validate_bw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c351 if (pipe_ctx->top_pipe) in dcn60_setup_audio_dto()
402 if (pipe_ctx->top_pipe) in dcn60_setup_audio_dto()
482 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) in dcn60_apply_ctx_to_hw()
519 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) in dcn60_apply_ctx_to_hw()
787 const struct pipe_ctx *top_pipe = resource_get_otg_master(pipe); in dcn60_update_cursor_offload_pipe() local
793 if (!top_pipe || !hubp || !dpp) in dcn60_update_cursor_offload_pipe()
796 stream_idx = top_pipe->pipe_idx; in dcn60_update_cursor_offload_pipe()
/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/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c125 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn31_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1820 …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/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c162 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn314_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1819 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/amdgpu_dm/
H A Damdgpu_dm_helpers.c1505 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()