Home
last modified time | relevance | path

Searched refs:otg_master (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c2067 otg_master = otg_master->prev_odm_pipe; in resource_get_otg_master()
2068 return otg_master; in resource_get_otg_master()
2164 if (!otg_master || !otg_master->stream) in resource_get_odm_slice_dst_width()
2172 otg_master->hblank_borrow; in resource_get_odm_slice_dst_width()
2433 struct pipe_ctx *otg_master; in resource_log_pipe_topology_update() local
2446 if (!otg_master) in resource_log_pipe_topology_update()
2461 if (!otg_master) in resource_log_pipe_topology_update()
2876 if (!otg_master) in resource_remove_otg_master_for_stream_output()
2915 memset(otg_master, 0, sizeof(*otg_master)); in resource_remove_otg_master_for_stream_output()
3373 if (!otg_master) in resource_update_pipes_for_stream_with_slice_count()
[all …]
H A Ddc_hw_sequencer.c1142 struct pipe_ctx *otg_master; in hwss_wait_for_odm_update_pending_complete() local
1147 otg_master = &context->res_ctx.pipe_ctx[i]; in hwss_wait_for_odm_update_pending_complete()
1148 if (!resource_is_pipe_type(otg_master, OTG_MASTER) || in hwss_wait_for_odm_update_pending_complete()
1149 dc_state_get_pipe_subvp_type(context, otg_master) == SUBVP_PHANTOM) in hwss_wait_for_odm_update_pending_complete()
1151 tg = otg_master->stream_res.tg; in hwss_wait_for_odm_update_pending_complete()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.h84 struct pipe_ctx *otg_master);
86 …ffer_update_under_otg_master(struct dc *dc, struct dc_state *context, struct pipe_ctx *otg_master);
H A Ddcn401_hwseq.c1492 struct pipe_ctx *otg_master) in update_dsc_for_odm_change() argument
1516 if (otg_master->stream_res.dsc) in update_dsc_for_odm_change()
1517 dcn32_update_dsc_on_stream(otg_master, in update_dsc_for_odm_change()
1518 otg_master->stream->timing.flags.DSC); in update_dsc_for_odm_change()
1531 struct pipe_ctx *otg_master) in dcn401_update_odm() argument
1541 otg_master, &context->res_ctx, opp_heads); in dcn401_update_odm()
1547 otg_master->stream_res.tg, in dcn401_update_odm()
1552 otg_master->stream_res.tg, in dcn401_update_odm()
1553 &otg_master->stream->timing); in dcn401_update_odm()
1567 if (!resource_is_pipe_type(otg_master, DPP_PIPE)) in dcn401_update_odm()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h379 int resource_get_opp_heads_for_otg_master(const struct pipe_ctx *otg_master,
453 int resource_get_odm_slice_dst_width(struct pipe_ctx *otg_master,
647 int resource_calculate_det_for_stream(struct dc_state *state, struct pipe_ctx *otg_master);
H A Dcore_types.h147 const struct pipe_ctx *otg_master);
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c520 struct pipe_ctx *otg_master; in dcn401_update_clocks_update_dtb_dto() local
525 otg_master = resource_get_otg_master_for_stream( in dcn401_update_clocks_update_dtb_dto()
527 ASSERT(otg_master); in dcn401_update_clocks_update_dtb_dto()
528 ASSERT(otg_master->clock_source); in dcn401_update_clocks_update_dtb_dto()
529 ASSERT(otg_master->clock_source->funcs->program_pix_clk); in dcn401_update_clocks_update_dtb_dto()
532 use_hpo_encoder = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(otg_master); in dcn401_update_clocks_update_dtb_dto()
537 otg_master->clock_source->funcs->program_pix_clk( in dcn401_update_clocks_update_dtb_dto()
538 otg_master->clock_source, in dcn401_update_clocks_update_dtb_dto()
539 &otg_master->stream_res.pix_clk_params, in dcn401_update_clocks_update_dtb_dto()
541 &otg_master->link_config.dp_link_settings), in dcn401_update_clocks_update_dtb_dto()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_wrapper.h74 void (*build_test_pattern_params)(struct resource_context *res_ctx, struct pipe_ctx *otg_master);
97 int (*get_opp_heads_for_otg_master)(const struct pipe_ctx *otg_master,
H A Ddml2_dc_resource_mgmt.c901 …struct pipe_ctx *otg_master = ctx->config.callbacks.get_otg_master_for_stream(&state->res_ctx, str… in get_source_odm_factor() local
903 if (!otg_master) in get_source_odm_factor()
906 return ctx->config.callbacks.get_odm_slice_count(otg_master); in get_source_odm_factor()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2783 const struct pipe_ctx *otg_master) in dcn32_acquire_free_pipe_as_secondary_opp_head() argument
2787 pool, otg_master); in dcn32_acquire_free_pipe_as_secondary_opp_head()
2793 free_pipe->stream = otg_master->stream; in dcn32_acquire_free_pipe_as_secondary_opp_head()
2794 free_pipe->stream_res.tg = otg_master->stream_res.tg; in dcn32_acquire_free_pipe_as_secondary_opp_head()
2803 free_pipe->hblank_borrow = otg_master->hblank_borrow; in dcn32_acquire_free_pipe_as_secondary_opp_head()
2816 ASSERT(otg_master); in dcn32_acquire_free_pipe_as_secondary_opp_head()
H A Ddcn32_resource.h156 const struct pipe_ctx *otg_master);
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1171 struct pipe_ctx *otg_master; in init_pipe_slice_table_from_context() local
1180 otg_master = resource_get_otg_master_for_stream( in init_pipe_slice_table_from_context()
1182 if (!otg_master) in init_pipe_slice_table_from_context()
1185 count = resource_get_odm_slice_count(otg_master); in init_pipe_slice_table_from_context()
1188 count = resource_get_dpp_pipes_for_opp_head(otg_master, in init_pipe_slice_table_from_context()
2125 struct pipe_ctx *otg_master = resource_get_otg_master_for_stream(&context->res_ctx, in dcn32_apply_merge_split_flags_helper() local
2128 if (otg_master) in dcn32_apply_merge_split_flags_helper()
2129 resource_build_test_pattern_params(&context->res_ctx, otg_master); in dcn32_apply_merge_split_flags_helper()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c2152 struct pipe_ctx *otg_master = resource_get_otg_master_for_stream(res_ctx, opp_head->stream); in dcn20_acquire_free_pipe_for_layer() local
2153 …struct pipe_ctx *sec_dpp_pipe = resource_find_free_secondary_pipe_legacy(res_ctx, pool, otg_master in dcn20_acquire_free_pipe_for_layer()
2155 ASSERT(otg_master); in dcn20_acquire_free_pipe_for_layer()