top_pipe 2988 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].stream || pipe[i].top_pipe) top_pipe 308 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) top_pipe 532 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; top_pipe 535 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->top_pipe = primary_pipe; top_pipe 871 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) top_pipe 1178 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) top_pipe 1243 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->bottom_pipe->top_pipe = pipe; top_pipe 1246 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->top_pipe = NULL; top_pipe 177 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c if (pipe_ctx->top_pipe) top_pipe 876 drivers/gpu/drm/amd/display/dc/core/dc.c if (!ctx->res_ctx.pipe_ctx[i].stream || ctx->res_ctx.pipe_ctx[i].top_pipe) top_pipe 1263 drivers/gpu/drm/amd/display/dc/core/dc.c if (cur_pipe->top_pipe) top_pipe 1264 drivers/gpu/drm/amd/display/dc/core/dc.c cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; top_pipe 1905 drivers/gpu/drm/amd/display/dc/core/dc.c if (!pipe_ctx->top_pipe && !pipe_ctx->prev_odm_pipe && pipe_ctx->stream == stream) { top_pipe 2064 drivers/gpu/drm/amd/display/dc/core/dc.c if (!pipe_ctx->top_pipe && top_pipe 3204 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (pipes[i].stream->link == link && !pipes[i].top_pipe && !pipes[i].prev_odm_pipe) { top_pipe 278 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c !pipes[i].top_pipe && !pipes[i].prev_odm_pipe && top_pipe 558 drivers/gpu/drm/amd/display/dc/core/dc_resource.c bool sec_split = pipe_ctx->top_pipe && top_pipe 559 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; top_pipe 662 drivers/gpu/drm/amd/display/dc/core/dc_resource.c bool sec_split = pipe_ctx->top_pipe && top_pipe 663 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; top_pipe 1136 drivers/gpu/drm/amd/display/dc/core/dc_resource.c && !res_ctx->pipe_ctx[i].top_pipe top_pipe 1204 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (split_pipe->top_pipe && top_pipe 1205 drivers/gpu/drm/amd/display/dc/core/dc_resource.c split_pipe->top_pipe->plane_state == split_pipe->plane_state) { top_pipe 1206 drivers/gpu/drm/amd/display/dc/core/dc_resource.c split_pipe->top_pipe->bottom_pipe = split_pipe->bottom_pipe; top_pipe 1208 drivers/gpu/drm/amd/display/dc/core/dc_resource.c split_pipe->bottom_pipe->top_pipe = split_pipe->top_pipe; top_pipe 1210 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (split_pipe->top_pipe->plane_state) top_pipe 1211 drivers/gpu/drm/amd/display/dc/core/dc_resource.c resource_build_scaling_params(split_pipe->top_pipe); top_pipe 1295 drivers/gpu/drm/amd/display/dc/core/dc_resource.c free_pipe->top_pipe = tail_pipe; top_pipe 1334 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (pipe_ctx->top_pipe) top_pipe 1335 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->top_pipe->bottom_pipe = pipe_ctx->bottom_pipe; top_pipe 1341 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (pipe_ctx->bottom_pipe && pipe_ctx->top_pipe) top_pipe 1342 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->bottom_pipe->top_pipe = pipe_ctx->top_pipe; top_pipe 1348 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (!pipe_ctx->top_pipe) top_pipe 2456 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (cur_pipe->top_pipe) top_pipe 2457 drivers/gpu/drm/amd/display/dc/core/dc_resource.c cur_pipe->top_pipe = &dst_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; top_pipe 196 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c if (pipe_ctx->top_pipe) top_pipe 1897 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) top_pipe 1979 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->top_pipe) top_pipe 2007 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->top_pipe) top_pipe 2054 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) top_pipe 2090 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) top_pipe 2595 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!pipe_ctx->top_pipe && top_pipe 2628 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c (!pipe_ctx->top_pipe) && top_pipe 2702 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->top_pipe && pipe_ctx->plane_state != pipe_ctx->top_pipe->plane_state) top_pipe 744 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe != NULL) top_pipe 854 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe == NULL) { top_pipe 1056 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe_ctx->top_pipe = NULL; top_pipe 1320 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx_old->top_pipe) top_pipe 1340 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c bool sec_split = pipe_ctx->top_pipe && top_pipe 1341 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; top_pipe 1513 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe->top_pipe) top_pipe 1916 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe) { top_pipe 1917 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c struct pipe_ctx *top = pipe_ctx->top_pipe; top_pipe 1919 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c while (top->top_pipe) top_pipe 1920 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c top = top->top_pipe; // Traverse to top pipe_ctx top_pipe 1987 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe)) top_pipe 1996 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe && is_upper_pipe_tree_visible(pipe_ctx->top_pipe)) top_pipe 2070 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c while (top_pipe_ctx->top_pipe != NULL) top_pipe 2071 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c top_pipe_ctx = top_pipe_ctx->top_pipe; top_pipe 2502 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe == NULL) { top_pipe 2544 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (!pipe_ctx->top_pipe && !pipe_ctx->prev_odm_pipe) top_pipe 3119 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->top_pipe || top_pipe 504 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe_ctx->top_pipe = NULL; top_pipe 539 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->top_pipe != NULL) top_pipe 666 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->top_pipe == NULL top_pipe 1036 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->top_pipe == NULL && !pipe_ctx->prev_odm_pipe) { top_pipe 1099 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe->top_pipe) top_pipe 1328 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->top_pipe == NULL) { top_pipe 1531 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c bool sec_split = pipe_ctx->top_pipe && top_pipe 1532 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; top_pipe 1668 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->top_pipe == NULL) { top_pipe 1708 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) top_pipe 1612 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) { top_pipe 1749 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c ASSERT(next_odm_pipe->top_pipe == NULL); top_pipe 1825 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; top_pipe 1828 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->top_pipe = primary_pipe; top_pipe 1948 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state top_pipe 1950 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; top_pipe 2077 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c || (res_ctx->pipe_ctx[i].top_pipe top_pipe 2078 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln); top_pipe 2106 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c } else if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) { top_pipe 2108 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c res_ctx->pipe_ctx[i].top_pipe->plane_res.scl_data.recout.width; top_pipe 2110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c res_ctx->pipe_ctx[i].top_pipe->plane_res.scl_data.recout.height; top_pipe 2269 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe || !stream || !stream->timing.flags.DSC) top_pipe 2328 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (dc->current_state->res_ctx.pipe_ctx[j].top_pipe == NULL) { top_pipe 2402 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c odm_pipe->top_pipe = NULL; top_pipe 2429 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c hsplit_pipe->bottom_pipe->top_pipe = pipe; top_pipe 2432 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c hsplit_pipe->top_pipe = NULL; top_pipe 2490 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->stream || pipe->top_pipe) top_pipe 2544 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { top_pipe 2558 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state) top_pipe 301 drivers/gpu/drm/amd/display/dc/inc/core_types.h struct pipe_ctx *top_pipe;