Home
last modified time | relevance | path

Searched refs:old_pipe (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1767 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn30_internal_validate_bw() local
1783 if (split[i] == 4 && old_pipe->next_odm_pipe && old_pipe->next_odm_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
1784 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1785 else if (old_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
1786 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1788 if (split[i] == 4 && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw()
1789 old_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
1790 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
1791 else if (old_pipe->bottom_pipe && in dcn30_internal_validate_bw()
1792 old_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1533 struct pipe_ctx *old_pipe; in update_dsc_for_odm_change() local
1559 old_pipe = old_opp_heads[i]; in update_dsc_for_odm_change()
1560 new_pipe = &context->res_ctx.pipe_ctx[old_pipe->pipe_idx]; in update_dsc_for_odm_change()
1561 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) in update_dsc_for_odm_change()
1562 old_pipe->stream_res.dsc->funcs->dsc_disconnect( in update_dsc_for_odm_change()
1563 old_pipe->stream_res.dsc); in update_dsc_for_odm_change()
1616 struct pipe_ctx *old_pipe; in dcn401_add_dsc_sequence_for_odm_change() local
1693 old_pipe = old_opp_heads[i]; in dcn401_add_dsc_sequence_for_odm_change()
1694 new_pipe = &context->res_ctx.pipe_ctx[old_pipe->pipe_idx]; in dcn401_add_dsc_sequence_for_odm_change()
1697 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) { in dcn401_add_dsc_sequence_for_odm_change()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c1478 struct pipe_ctx *old_pipe, in dcn20_detect_pipe_changes() argument
1481 bool old_is_phantom = dc_state_get_pipe_subvp_type(old_state, old_pipe) == SUBVP_PHANTOM; in dcn20_detect_pipe_changes()
1493 if (old_pipe->plane_state && !old_is_phantom && in dcn20_detect_pipe_changes()
1500 resource_is_odm_topology_changed(new_pipe, old_pipe)) in dcn20_detect_pipe_changes()
1505 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes()
1508 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1541 if (old_pipe->plane_state && old_is_phantom && in dcn20_detect_pipe_changes()
1545 if (old_pipe->plane_state && !new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1551 if (old_pipe->plane_state != new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1558 if (old_pipe->pipe_dlg_param.vready_offset != new_pipe->pipe_dlg_param.vready_offset in dcn20_detect_pipe_changes()
[all …]
H A Ddcn20_hwseq.h160 struct pipe_ctx *old_pipe,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c636 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn32_update_force_pstate() local
655 if (old_pipe->stream) in dcn32_update_force_pstate()
656 old_stream_status = dc_state_get_stream_status(dc->current_state, old_pipe->stream); in dcn32_update_force_pstate()
660 … (!old_pipe->stream || (dc_state_get_pipe_subvp_type(dc->current_state, old_pipe) != SUBVP_MAIN && in dcn32_update_force_pstate()
1585 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn32_enable_phantom_streams() local
1592old_pipe->stream && dc_state_get_pipe_subvp_type(dc->current_state, old_pipe) != SUBVP_PHANTOM) { in dcn32_enable_phantom_streams()
1593 old_pipe->stream_res.tg->funcs->wait_for_state( in dcn32_enable_phantom_streams()
1594 old_pipe->stream_res.tg, in dcn32_enable_phantom_streams()
1596 old_pipe->stream_res.tg->funcs->wait_for_state( in dcn32_enable_phantom_streams()
1597 old_pipe->stream_res.tg, in dcn32_enable_phantom_streams()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c199 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn35_disable_otg_wa() local
221 stream_changed_otg_dig_on = old_pipe->stream && new_pipe->stream && in dcn35_disable_otg_wa()
222 old_pipe->stream != new_pipe->stream && in dcn35_disable_otg_wa()
223 old_pipe->stream_res.tg == new_pipe->stream_res.tg && in dcn35_disable_otg_wa()
232 if (old_pipe->stream && new_pipe->stream && old_pipe->stream == new_pipe->stream) { in dcn35_disable_otg_wa()
233 has_active_hpo = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(old_pipe) && in dcn35_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c1363 struct pipe_ctx *old_pipe, *new_pipe; in disable_dangling_plane() local
1365 old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in disable_dangling_plane()
1368 if (old_pipe->plane_state && !new_pipe->plane_state) in disable_dangling_plane()
2138 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_commit_state_no_check() local
2141 subvp_prev_use |= (dc_state_get_pipe_subvp_type(dc->current_state, old_pipe) == SUBVP_PHANTOM); in dc_commit_state_no_check()
4235 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in commit_planes_for_stream() local
4238 subvp_prev_use |= (dc_state_get_pipe_subvp_type(dc->current_state, old_pipe) == SUBVP_PHANTOM); in commit_planes_for_stream()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h1267 struct pipe_ctx *old_pipe,