Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2092 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn30_internal_validate_bw() local
2108 if (split[i] == 4 && old_pipe->next_odm_pipe && old_pipe->next_odm_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
2109 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
2110 else if (old_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
2111 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
2113 if (split[i] == 4 && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw()
2114 old_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
2115 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
2116 else if (old_pipe->bottom_pipe && in dcn30_internal_validate_bw()
2117 old_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c1226 static void dcn20_detect_pipe_changes(struct pipe_ctx *old_pipe, struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() argument
1231 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes()
1234 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1249 if (old_pipe->plane_state && !new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1255 if (old_pipe->plane_state != new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1262 if ((old_pipe->next_odm_pipe && new_pipe->next_odm_pipe in dcn20_detect_pipe_changes()
1263 && old_pipe->next_odm_pipe->pipe_idx != new_pipe->next_odm_pipe->pipe_idx) in dcn20_detect_pipe_changes()
1264 || (!old_pipe->next_odm_pipe && new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes()
1265 || (old_pipe->next_odm_pipe && !new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes()
1266 || old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c2773 struct pipe_ctx *old_pipe; in dcn10_disconnect_pipes() local
2779 old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_disconnect_pipes()
2783 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes()
2786 if (old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes()
2790 …if (memcmp(&old_pipe->plane_res.scl_data, &new_pipe->plane_res.scl_data, sizeof(struct scaler_data… in dcn10_disconnect_pipes()
2794 …if (memcmp(&old_pipe->plane_res.scl_data.viewport, &new_pipe->plane_res.scl_data.viewport, sizeof(… in dcn10_disconnect_pipes()
2795 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn10_disconnect_pipes()
2836 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_disconnect_pipes() local
2846 if (!(old_pipe && !pipe_ctx->top_pipe && in dcn10_disconnect_pipes()
2847 !pipe_ctx->bottom_pipe && old_pipe->bottom_pipe)) in dcn10_disconnect_pipes()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c2691 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_commit_updates_for_stream() local
2693 if (new_pipe->plane_state && new_pipe->plane_state != old_pipe->plane_state) in dc_commit_updates_for_stream()