/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 1333 struct pipe_ctx *head_pipe) in resource_get_tail_pipe() 1337 tail_pipe = head_pipe->bottom_pipe; in resource_get_tail_pipe() 1340 head_pipe = tail_pipe; in resource_get_tail_pipe() 1344 return head_pipe; in resource_get_tail_pipe() 1354 struct pipe_ctx *head_pipe) in acquire_free_pipe_for_head() 1359 if (!head_pipe->plane_state) in acquire_free_pipe_for_head() 1360 return head_pipe; in acquire_free_pipe_for_head() 1364 if (res_ctx->pipe_ctx[i].stream == head_pipe->stream && in acquire_free_pipe_for_head() 1378 return pool->funcs->acquire_idle_pipe_for_layer(context, pool, head_pipe->stream); in acquire_free_pipe_for_head() 1426 struct pipe_ctx *head_pipe, *tail_pip in dc_add_plane_to_context() local 1331 resource_get_tail_pipe( struct resource_context *res_ctx, struct pipe_ctx *head_pipe) resource_get_tail_pipe() argument 1351 acquire_free_pipe_for_head( struct dc_state *context, const struct resource_pool *pool, struct pipe_ctx *head_pipe) acquire_free_pipe_for_head() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 1156 struct pipe_ctx *head_pipe = resource_get_head_pipe_for_stream(res_ctx, stream); in dcn10_acquire_idle_pipe_for_layer() local 1157 struct pipe_ctx *idle_pipe = find_idle_secondary_pipe(res_ctx, pool, head_pipe); in dcn10_acquire_idle_pipe_for_layer() 1159 if (!head_pipe) { in dcn10_acquire_idle_pipe_for_layer() 1167 idle_pipe->stream = head_pipe->stream; in dcn10_acquire_idle_pipe_for_layer() 1168 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn10_acquire_idle_pipe_for_layer() 1169 idle_pipe->stream_res.abm = head_pipe->stream_res.abm; in dcn10_acquire_idle_pipe_for_layer() 1170 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn10_acquire_idle_pipe_for_layer()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 1093 struct pipe_ctx *head_pipe = resource_get_otg_master_for_stream(res_ctx, opp_head_pipe->stream); in dcn10_acquire_free_pipe_for_layer() local 1094 struct pipe_ctx *idle_pipe = resource_find_free_secondary_pipe_legacy(res_ctx, pool, head_pipe); in dcn10_acquire_free_pipe_for_layer() 1096 if (!head_pipe) { in dcn10_acquire_free_pipe_for_layer() 1104 idle_pipe->stream = head_pipe->stream; in dcn10_acquire_free_pipe_for_layer() 1105 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn10_acquire_free_pipe_for_layer() 1106 idle_pipe->stream_res.abm = head_pipe->stream_res.abm; in dcn10_acquire_free_pipe_for_layer() 1107 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn10_acquire_free_pipe_for_layer()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_resource.c | 1002 struct pipe_ctx *head_pipe = resource_get_otg_master_for_stream(res_ctx, opp_head_pipe->stream); in dcn201_acquire_free_pipe_for_layer() local 1003 struct pipe_ctx *idle_pipe = resource_find_free_secondary_pipe_legacy(res_ctx, pool, head_pipe); in dcn201_acquire_free_pipe_for_layer() 1005 if (!head_pipe) in dcn201_acquire_free_pipe_for_layer() 1011 idle_pipe->stream = head_pipe->stream; in dcn201_acquire_free_pipe_for_layer() 1012 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn201_acquire_free_pipe_for_layer() 1013 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn201_acquire_free_pipe_for_layer()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 2633 const struct pipe_ctx *head_pipe) in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2640 if (!head_pipe) in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2645 * Check if head_pipe in old_context already has bottom_pipe allocated. in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2649 head_index = head_pipe->pipe_idx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2655 idle_pipe = find_idle_secondary_pipe_check_mpo(res_ctx, pool, head_pipe); in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2660 idle_pipe->stream = head_pipe->stream; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2661 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2662 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2629 dcn32_acquire_idle_pipe_for_head_pipe_in_layer( struct dc_state *state, const struct resource_pool *pool, struct dc_stream_state *stream, const struct pipe_ctx *head_pipe) dcn32_acquire_idle_pipe_for_head_pipe_in_layer() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 301 struct pipe_ctx *head_pipe, in dc_dmub_srv_populate_fams_pipe_info() 307 fams_pipe_data->pipe_index[pipe_idx++] = head_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info() 311 if (split_pipe->stream == head_pipe->stream && (split_pipe->top_pipe || split_pipe->prev_odm_pipe)) { in dc_dmub_srv_populate_fams_pipe_info() 300 dc_dmub_srv_populate_fams_pipe_info(struct dc *dc, struct dc_state *context, struct pipe_ctx *head_pipe, struct dmub_cmd_fw_assisted_mclk_switch_pipe_data *fams_pipe_data) dc_dmub_srv_populate_fams_pipe_info() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 3268 struct pipe_ctx *head_pipe = resource_get_head_pipe_for_stream(res_ctx, stream); local 3269 struct pipe_ctx *idle_pipe = find_idle_secondary_pipe(res_ctx, pool, head_pipe); 3271 if (!head_pipe) 3277 idle_pipe->stream = head_pipe->stream; 3278 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; 3279 idle_pipe->stream_res.opp = head_pipe->stream_res.opp;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 1784 struct pipe_ctx *head_pipe) in get_tail_pipe() 1786 struct pipe_ctx *tail_pipe = head_pipe->bottom_pipe; in get_tail_pipe() 1789 head_pipe = tail_pipe; in get_tail_pipe() 1793 return head_pipe; in get_tail_pipe() 1783 get_tail_pipe( struct pipe_ctx *head_pipe) get_tail_pipe() argument
|