Home
last modified time | relevance | path

Searched refs:cur_pipe (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c151 struct pipe_ctx *cur_pipe = &dst_state->res_ctx.pipe_ctx[i]; in dc_state_copy_internal() local
153 if (cur_pipe->top_pipe) in dc_state_copy_internal()
154 cur_pipe->top_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_state_copy_internal()
156 if (cur_pipe->bottom_pipe) in dc_state_copy_internal()
157 cur_pipe->bottom_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_state_copy_internal()
159 if (cur_pipe->prev_odm_pipe) in dc_state_copy_internal()
160 cur_pipe->prev_odm_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_state_copy_internal()
162 if (cur_pipe->next_odm_pipe) in dc_state_copy_internal()
163 cur_pipe->next_odm_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_state_copy_internal()
H A Ddc_resource.c1847 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_not_used_in_cur_res_ctx() local
1851 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_not_used_in_cur_res_ctx()
1870 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() local
1874 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx()
1893 const struct pipe_ctx *new_pipe, *cur_pipe; in resource_find_free_pipe_used_as_cur_sec_dpp() local
1897 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in resource_find_free_pipe_used_as_cur_sec_dpp()
1901 !resource_is_pipe_type(cur_pipe, OPP_HEAD) && in resource_find_free_pipe_used_as_cur_sec_dpp()
1917 const struct pipe_ctx *new_pipe, *cur_pipe; in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() local
1921 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine()
1925 !resource_is_pipe_type(cur_pipe, OPP_HEAD) && in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine()
[all …]
H A Ddc.c4193 struct pipe_ctx *cur_pipe = &context->res_ctx.pipe_ctx[i]; in commit_planes_for_stream() local
4194 if (cur_pipe->stream == NULL) in commit_planes_for_stream()
4197 cur_pipe->plane_res.hubp->funcs->validate_dml_output( in commit_planes_for_stream()
4198 cur_pipe->plane_res.hubp, dc->ctx, in commit_planes_for_stream()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c1104 if (cur_pipe == NULL || new_pipe == NULL) in dcn35_calc_blocks_to_ungate()
1107 if ((!cur_pipe->plane_state && new_pipe->plane_state) || in dcn35_calc_blocks_to_ungate()
1108 (!cur_pipe->stream && new_pipe->stream) || in dcn35_calc_blocks_to_ungate()
1109 (cur_pipe->stream != new_pipe->stream && new_pipe->stream)) { in dcn35_calc_blocks_to_ungate()
1133 } else if (cur_pipe->plane_state == new_pipe->plane_state || in dcn35_calc_blocks_to_ungate()
1134 cur_pipe == new_pipe) { in dcn35_calc_blocks_to_ungate()
1138 cur_pipe->plane_res.hubp != new_pipe->plane_res.hubp && in dcn35_calc_blocks_to_ungate()
1143 cur_pipe->plane_res.dpp != new_pipe->plane_res.dpp && in dcn35_calc_blocks_to_ungate()
1148 cur_pipe->stream_res.opp != new_pipe->stream_res.opp && in dcn35_calc_blocks_to_ungate()
1153 cur_pipe->stream_res.dsc != new_pipe->stream_res.dsc && in dcn35_calc_blocks_to_ungate()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1714 const struct pipe_ctx *cur_pipe, in is_subvp_phantom_topology_transition_seamless() argument
1717 enum mall_stream_type cur_pipe_type = dc_state_get_pipe_subvp_type(cur_ctx, cur_pipe); in is_subvp_phantom_topology_transition_seamless()
1734 const struct pipe_ctx *cur_pipe, *new_pipe; in dcn32_is_pipe_topology_transition_seamless() local
1738 cur_pipe = &cur_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless()
1741 if (resource_is_pipe_type(cur_pipe, FREE_PIPE) || in dcn32_is_pipe_topology_transition_seamless()
1745 else if (resource_is_pipe_type(cur_pipe, OTG_MASTER)) { in dcn32_is_pipe_topology_transition_seamless()
1747 if (cur_pipe->stream->stream_id == new_pipe->stream->stream_id || in dcn32_is_pipe_topology_transition_seamless()
1751 } else if (resource_is_pipe_type(cur_pipe, OPP_HEAD)) { in dcn32_is_pipe_topology_transition_seamless()
1753 if (cur_pipe->stream_res.tg == new_pipe->stream_res.tg) in dcn32_is_pipe_topology_transition_seamless()
1760 } else if (resource_is_pipe_type(cur_pipe, DPP_PIPE)) { in dcn32_is_pipe_topology_transition_seamless()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.h39 int cur_pipe);
H A Ddcn30_fpu.c275 int cur_pipe) in dcn30_fpu_set_mcif_arb_params() argument
286 …eed_change_duration = dml->vba.WritebackAllowDRAMClockChangeEndPosition[cur_pipe] * pipes[0].clks_… in dcn30_fpu_set_mcif_arb_params()