Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c1231 static void dcn20_detect_pipe_changes(struct pipe_ctx *old_pipe, struct pipe_ctx *new_pipe) in dcn20_detect_pipe_changes() argument
1236 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn20_detect_pipe_changes()
1239 if (!old_pipe->plane_state && new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1254 if (old_pipe->plane_state && !new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1260 if (old_pipe->plane_state != new_pipe->plane_state) { in dcn20_detect_pipe_changes()
1267 if ((old_pipe->next_odm_pipe && new_pipe->next_odm_pipe in dcn20_detect_pipe_changes()
1268 && old_pipe->next_odm_pipe->pipe_idx != new_pipe->next_odm_pipe->pipe_idx) in dcn20_detect_pipe_changes()
1269 || (!old_pipe->next_odm_pipe && new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes()
1270 || (old_pipe->next_odm_pipe && !new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes()
1271 || old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c2091 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn30_internal_validate_bw() local
2107 if (split[i] == 4 && old_pipe->next_odm_pipe && old_pipe->next_odm_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
2108 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
2109 else if (old_pipe->next_odm_pipe) in dcn30_internal_validate_bw()
2110 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
2112 if (split[i] == 4 && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw()
2113 old_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
2114 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
2115 else if (old_pipe->bottom_pipe && in dcn30_internal_validate_bw()
2116 old_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c2787 struct pipe_ctx *old_pipe; in dcn10_disconnect_pipes() local
2793 old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_disconnect_pipes()
2797 if (!old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes()
2800 if (old_pipe->plane_state && !new_pipe->plane_state) in dcn10_disconnect_pipes()
2804 …if (memcmp(&old_pipe->plane_res.scl_data, &new_pipe->plane_res.scl_data, sizeof(struct scaler_data… in dcn10_disconnect_pipes()
2808 …if (memcmp(&old_pipe->plane_res.scl_data.viewport, &new_pipe->plane_res.scl_data.viewport, sizeof(… in dcn10_disconnect_pipes()
2809 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn10_disconnect_pipes()
2850 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_disconnect_pipes() local
2860 if (!(old_pipe && !pipe_ctx->top_pipe && in dcn10_disconnect_pipes()
2861 !pipe_ctx->bottom_pipe && old_pipe->bottom_pipe)) in dcn10_disconnect_pipes()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2689 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_commit_updates_for_stream() local
2691 if (new_pipe->plane_state && new_pipe->plane_state != old_pipe->plane_state) in dc_commit_updates_for_stream()