Searched refs:cur_pipe (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_state.c | 152 struct pipe_ctx *cur_pipe = &dst_state->res_ctx.pipe_ctx[i]; in dc_state_copy_internal() local 154 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() 157 if (cur_pipe->bottom_pipe) in dc_state_copy_internal() 158 cur_pipe->bottom_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_state_copy_internal() 160 if (cur_pipe->prev_odm_pipe) in dc_state_copy_internal() 161 cur_pipe->prev_odm_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_state_copy_internal() 163 if (cur_pipe->next_odm_pipe) in dc_state_copy_internal() 164 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 D | dc_resource.c | 1868 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_not_used_in_cur_res_ctx() local 1872 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_not_used_in_cur_res_ctx() 1875 if (resource_is_pipe_type(cur_pipe, FREE_PIPE) && in recource_find_free_pipe_not_used_in_cur_res_ctx() 1891 const struct pipe_ctx *new_pipe, *cur_pipe; in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() local 1895 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() 1898 if (resource_is_pipe_type(cur_pipe, OTG_MASTER) && in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() 1914 const struct pipe_ctx *new_pipe, *cur_pipe; in resource_find_free_pipe_used_as_cur_sec_dpp() local 1918 cur_pipe = &cur_res_ctx->pipe_ctx[i]; in resource_find_free_pipe_used_as_cur_sec_dpp() 1921 if (resource_is_pipe_type(cur_pipe, DPP_PIPE) && in resource_find_free_pipe_used_as_cur_sec_dpp() 1922 !resource_is_pipe_type(cur_pipe, OPP_HEAD) && in resource_find_free_pipe_used_as_cur_sec_dpp() [all …]
|
| H A D | dc.c | 4447 struct pipe_ctx *cur_pipe = &context->res_ctx.pipe_ctx[i]; in commit_planes_for_stream() local 4448 if (cur_pipe->stream == NULL) in commit_planes_for_stream() 4451 cur_pipe->plane_res.hubp->funcs->validate_dml_output( in commit_planes_for_stream() 4452 cur_pipe->plane_res.hubp, dc->ctx, in commit_planes_for_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 1728 const struct pipe_ctx *cur_pipe, in is_subvp_phantom_topology_transition_seamless() argument 1731 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 …t dc_stream_state *cur_paired_stream = dc_state_get_paired_subvp_stream(cur_ctx, cur_pipe->stream); in is_subvp_phantom_topology_transition_seamless() 1748 const struct pipe_ctx *cur_pipe, *new_pipe; in dcn32_is_pipe_topology_transition_seamless() local 1752 cur_pipe = &cur_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless() 1755 if (resource_is_pipe_type(cur_pipe, FREE_PIPE) || in dcn32_is_pipe_topology_transition_seamless() 1759 else if (resource_is_pipe_type(cur_pipe, OTG_MASTER)) { in dcn32_is_pipe_topology_transition_seamless() 1761 if (cur_pipe->stream->stream_id == new_pipe->stream->stream_id || in dcn32_is_pipe_topology_transition_seamless() 1762 is_subvp_phantom_topology_transition_seamless(cur_ctx, new_ctx, cur_pipe, new_pipe)) in dcn32_is_pipe_topology_transition_seamless() 1765 } else if (resource_is_pipe_type(cur_pipe, OPP_HEAD)) { in dcn32_is_pipe_topology_transition_seamless() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
| H A D | dcn35_hwseq.c | 1032 struct pipe_ctx *cur_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn35_calc_blocks_to_ungate() local 1035 if (cur_pipe == NULL || new_pipe == NULL) in dcn35_calc_blocks_to_ungate() 1038 if ((!cur_pipe->plane_state && new_pipe->plane_state) || in dcn35_calc_blocks_to_ungate() 1039 (!cur_pipe->stream && new_pipe->stream) || in dcn35_calc_blocks_to_ungate() 1040 (cur_pipe->stream != new_pipe->stream && new_pipe->stream)) { in dcn35_calc_blocks_to_ungate() 1064 } else if (cur_pipe->plane_state == new_pipe->plane_state || in dcn35_calc_blocks_to_ungate() 1065 cur_pipe == new_pipe) { in dcn35_calc_blocks_to_ungate() 1069 cur_pipe->plane_res.hubp != new_pipe->plane_res.hubp && in dcn35_calc_blocks_to_ungate() 1074 cur_pipe->plane_res.dpp != new_pipe->plane_res.dpp && in dcn35_calc_blocks_to_ungate() 1079 cur_pipe->stream_res.opp != new_pipe->stream_res.opp && in dcn35_calc_blocks_to_ungate() [all …]
|