/linux-master/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | dc_common.c | 65 if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe)) 74 if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe))
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_mall_phantom.c | 53 if (pipe->stream && pipe->plane_state && !pipe->top_pipe && !pipe->prev_odm_pipe && 122 pipe->top_pipe = NULL; 128 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { 129 struct pipe_ctx *top_pipe = pipe->top_pipe; local 132 top_pipe->bottom_pipe = bottom_pipe; 134 bottom_pipe->top_pipe = top_pipe; 136 pipe->top_pipe [all...] |
H A D | dml2_dc_resource_mgmt.c | 115 if (!state->res_ctx.pipe_ctx[i].prev_odm_pipe && !state->res_ctx.pipe_ctx[i].top_pipe) 158 && (!pipe->top_pipe || pipe->top_pipe->plane_state != pipe->plane_state)) { 190 // struct pipe_ctx *top_pipe; 203 // top_pipe = find_top_pipe_in_tree(state->res_ctx.pipe_ctx[pipes_assigned_to_plane[0]]); 207 // verify_combine_tree(top_pipe, state->streams[i]->stream_id, plane_id, state, false); 209 // verify_combine_tree(top_pipe, state->streams[i]->stream_id, plane_id, state, true); 563 struct pipe_ctx *top_pipe) 568 if (top_pipe) 569 top_pipe 558 add_plane_to_blend_tree(struct dml2_context *ctx, struct dc_state *state, const struct dc_plane_state *plane, struct dc_plane_pipe_pool *pipe_pool, unsigned int odm_slice, struct pipe_ctx *top_pipe) argument [all...] |
H A D | dml2_utils.c | 364 (context->res_ctx.pipe_ctx[dc_pipe_ctx_index].top_pipe == NULL || 365 context->res_ctx.pipe_ctx[dc_pipe_ctx_index].plane_state != context->res_ctx.pipe_ctx[dc_pipe_ctx_index].top_pipe->plane_state) &&
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 128 pipe->top_pipe = NULL; 134 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { 135 struct pipe_ctx *top_pipe = pipe->top_pipe; local 138 top_pipe->bottom_pipe = bottom_pipe; 140 bottom_pipe->top_pipe = top_pipe; 142 pipe->top_pipe = NULL;
|
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 1378 if (pipe_ctx->top_pipe) 1409 if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) { 1492 if (prev_odm_pipe->top_pipe && prev_odm_pipe->top_pipe->next_odm_pipe) { 1493 prev_odm_pipe->top_pipe->next_odm_pipe->bottom_pipe = next_odm_pipe; 1494 next_odm_pipe->top_pipe = prev_odm_pipe->top_pipe->next_odm_pipe; 1497 prev_odm_pipe->bottom_pipe->next_odm_pipe->top_pipe = next_odm_pipe; 1539 if (!next_odm_pipe->top_pipe) 1542 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_resource.c | 42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) {
|
/linux-master/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 1581 if (pipe_ctx->top_pipe && pipe_ctx->top_pipe->plane_state == plane_state) { 1873 !pipe_ctx->top_pipe && 1876 return !pipe_ctx->top_pipe && pipe_ctx->stream; 1949 pipe->top_pipe->plane_state != plane) 1983 while (opp_head->top_pipe) 1984 opp_head = opp_head->top_pipe; 1995 while (pri_dpp_pipe->top_pipe && 1996 pri_dpp_pipe->top_pipe->plane_state == pri_dpp_pipe->plane_state) 1997 pri_dpp_pipe = pri_dpp_pipe->top_pipe; [all...] |
H A D | dc_hw_sequencer.c | 322 struct pipe_ctx *top_pipe = pipe_ctx; local 324 while (top_pipe->top_pipe) 325 top_pipe = top_pipe->top_pipe; 327 *color = pipe_colors[top_pipe->pipe_idx]; 390 while (top_pipe_ctx->top_pipe != NULL) 391 top_pipe_ctx = top_pipe_ctx->top_pipe;
|
H A D | dc_state.c | 151 if (cur_pipe->top_pipe) 152 cur_pipe->top_pipe = &dst_state->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx];
|
H A D | dc.c | 591 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) 1186 if ((context->res_ctx.pipe_ctx[i].top_pipe) && 1187 (dc->current_state->res_ctx.pipe_ctx[i].top_pipe)) 1188 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe->pipe_idx != 1189 dc->current_state->res_ctx.pipe_ctx[i].top_pipe->pipe_idx; 1191 pipe_split_change = context->res_ctx.pipe_ctx[i].top_pipe != 1192 dc->current_state->res_ctx.pipe_ctx[i].top_pipe; 1204 if (old_stream && !dc->current_state->res_ctx.pipe_ctx[i].top_pipe && 1555 || ctx->res_ctx.pipe_ctx[i].top_pipe 3875 if (!pipe_ctx->top_pipe [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
H A D | dcn30_resource.c | 1550 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { 1551 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; 1552 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; 1555 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; 1561 if (!sec_pipe->top_pipe) 1564 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; 1575 sec_pipe->bottom_pipe->top_pipe = sec_pipe; 1578 sec_pipe->top_pipe 1751 struct pipe_ctx *top_pipe = pipe->top_pipe; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 567 if (pipe->stream && !pipe->top_pipe) { 628 if (pipe->plane_state && !pipe->top_pipe && !pipe->prev_odm_pipe && !dcn32_is_center_timing(pipe) && 741 if (pipe->stream && pipe->plane_state && !pipe->top_pipe && 997 if (pipe->plane_state && !pipe->top_pipe && 1052 if (pipe->plane_state && !pipe->top_pipe) { 1734 (context->res_ctx.pipe_ctx[i].top_pipe == NULL || 1735 context->res_ctx.pipe_ctx[i].plane_state != context->res_ctx.pipe_ctx[i].top_pipe->plane_state) && 1816 if (dc->current_state->res_ctx.pipe_ctx[i].top_pipe == NULL 1892 if (pri_pipe->top_pipe && pri_pipe->top_pipe 2004 struct pipe_ctx *top_pipe = pipe->top_pipe; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 115 if (pipe_ctx->top_pipe || 939 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { 968 if (pipe_ctx->top_pipe != NULL) 1100 if (pipe_ctx->top_pipe == NULL) { 1342 pipe_ctx->top_pipe = NULL; 1753 if (pipe_ctx_old->top_pipe) 1773 bool sec_split = pipe_ctx->top_pipe && 1774 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; 1950 if (!pipe || pipe->top_pipe) [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 725 pipe_ctx->top_pipe = NULL; 846 if (pipe_ctx->top_pipe != NULL) 1020 * pipe_ctx->top_pipe == NULL ,but then fix the diagnostic. 1024 if (pipe_ctx->top_pipe == NULL 1358 if (!pipe_ctx->top_pipe 1380 if (!pipe || pipe->top_pipe) 1512 if (!new_pipe->top_pipe && !new_pipe->prev_odm_pipe) { 1841 for (other_pipe = pipe->top_pipe; other_pipe != NULL; other_pipe = other_pipe->top_pipe) { 1875 if (pipe_ctx->update_flags.bits.global_sync && !pipe_ctx->top_pipe [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
H A D | dcn201_hwseq.c | 60 bool sec_split = pipe_ctx->top_pipe && 61 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; 532 if (pipe->top_pipe)
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A D | dcn314_hwseq.c | 361 if (pipe->top_pipe || pipe->prev_odm_pipe) 415 if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe == NULL) {
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 312 } else if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) { 545 secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; 548 secondary_pipe->top_pipe = primary_pipe; 899 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) 1206 if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) 1271 hsplit_pipe->bottom_pipe->top_pipe = pipe; 1274 hsplit_pipe->top_pipe [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
H A D | dce_clk_mgr.c | 177 if (pipe_ctx->top_pipe)
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 428 struct pipe_ctx *top_pipe; member in struct:pipe_ctx
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 415 if (split_pipe->stream == head_pipe->stream && (split_pipe->top_pipe || split_pipe->prev_odm_pipe)) { 978 for (test_pipe = pipe_ctx->top_pipe; test_pipe; 979 test_pipe = test_pipe->top_pipe) { 993 for (split_pipe = pipe_ctx->top_pipe; split_pipe; 994 split_pipe = split_pipe->top_pipe)
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1425 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state 1427 struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].top_pipe; 1430 while (first_pipe->top_pipe && first_pipe->top_pipe->plane_state 1432 first_pipe = first_pipe->top_pipe; 1441 pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; 1591 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) 1660 split_pipe = res_ctx->pipe_ctx[i].top_pipe; [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn21/ |
H A D | dcn21_resource.c | 854 if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { 868 if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state)
|
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
H A D | dcn315_resource.c | 1655 if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state != res_ctx->pipe_ctx[i].plane_state) 1698 if (pixel_rate_crb && !pipe->top_pipe && !pipe->prev_odm_pipe) { 1755 if (!pipe->top_pipe && !pipe->prev_odm_pipe) {
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
H A D | dcn31_hwseq.c | 516 ASSERT(!pipe_ctx->top_pipe); 583 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe)
|