secondary_pipe 513 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct pipe_ctx *secondary_pipe) secondary_pipe 515 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int pipe_idx = secondary_pipe->pipe_idx; secondary_pipe 520 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c *secondary_pipe = *primary_pipe; secondary_pipe 522 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->pipe_idx = pipe_idx; secondary_pipe 523 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.mi = pool->mis[secondary_pipe->pipe_idx]; secondary_pipe 524 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; secondary_pipe 525 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.ipp = pool->ipps[secondary_pipe->pipe_idx]; secondary_pipe 526 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; secondary_pipe 527 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.dpp = pool->dpps[secondary_pipe->pipe_idx]; secondary_pipe 528 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; secondary_pipe 530 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ASSERT(primary_pipe->bottom_pipe != secondary_pipe); secondary_pipe 531 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; secondary_pipe 532 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; secondary_pipe 534 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c primary_pipe->bottom_pipe = secondary_pipe; secondary_pipe 535 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c secondary_pipe->top_pipe = primary_pipe; secondary_pipe 538 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c resource_build_scaling_params(secondary_pipe); secondary_pipe 1074 drivers/gpu/drm/amd/display/dc/core/dc_resource.c struct pipe_ctx *secondary_pipe = NULL; secondary_pipe 1107 drivers/gpu/drm/amd/display/dc/core/dc_resource.c secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx]; secondary_pipe 1108 drivers/gpu/drm/amd/display/dc/core/dc_resource.c secondary_pipe->pipe_idx = preferred_pipe_idx; secondary_pipe 1116 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (!secondary_pipe) secondary_pipe 1119 drivers/gpu/drm/amd/display/dc/core/dc_resource.c secondary_pipe = &res_ctx->pipe_ctx[i]; secondary_pipe 1120 drivers/gpu/drm/amd/display/dc/core/dc_resource.c secondary_pipe->pipe_idx = i; secondary_pipe 1125 drivers/gpu/drm/amd/display/dc/core/dc_resource.c return secondary_pipe; secondary_pipe 1804 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *secondary_pipe) secondary_pipe 1806 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_idx = secondary_pipe->pipe_idx; secondary_pipe 1807 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *sec_bot_pipe = secondary_pipe->bottom_pipe; secondary_pipe 1809 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c *secondary_pipe = *primary_pipe; secondary_pipe 1810 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->bottom_pipe = sec_bot_pipe; secondary_pipe 1812 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->pipe_idx = pipe_idx; secondary_pipe 1813 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.mi = pool->mis[secondary_pipe->pipe_idx]; secondary_pipe 1814 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; secondary_pipe 1815 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.ipp = pool->ipps[secondary_pipe->pipe_idx]; secondary_pipe 1816 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; secondary_pipe 1817 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.dpp = pool->dpps[secondary_pipe->pipe_idx]; secondary_pipe 1818 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; secondary_pipe 1820 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->stream_res.dsc = NULL; secondary_pipe 1822 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (primary_pipe->bottom_pipe && primary_pipe->bottom_pipe != secondary_pipe) { secondary_pipe 1823 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c ASSERT(!secondary_pipe->bottom_pipe); secondary_pipe 1824 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; secondary_pipe 1825 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->bottom_pipe->top_pipe = secondary_pipe; secondary_pipe 1827 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c primary_pipe->bottom_pipe = secondary_pipe; secondary_pipe 1828 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->top_pipe = primary_pipe; secondary_pipe 1832 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c resource_build_scaling_params(secondary_pipe); secondary_pipe 2293 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *secondary_pipe = NULL; secondary_pipe 2309 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx]; secondary_pipe 2310 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->pipe_idx = preferred_pipe_idx; secondary_pipe 2315 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx]; secondary_pipe 2316 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->pipe_idx = preferred_pipe_idx; secondary_pipe 2326 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (secondary_pipe == NULL) { secondary_pipe 2332 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx]; secondary_pipe 2333 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->pipe_idx = preferred_pipe_idx; secondary_pipe 2343 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c ASSERT(secondary_pipe); secondary_pipe 2348 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (secondary_pipe == NULL) { secondary_pipe 2353 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx]; secondary_pipe 2354 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c secondary_pipe->pipe_idx = preferred_pipe_idx; secondary_pipe 2361 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c return secondary_pipe;