Searched refs:otg_master (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 1459 struct pipe_ctx *otg_master) in resource_build_test_pattern_params() argument 1466 enum dc_color_depth color_depth = otg_master->stream->timing.display_color_depth; in resource_build_test_pattern_params() 1471 otg_master->stream->test_pattern.type); in resource_build_test_pattern_params() 1473 otg_master->stream->test_pattern.color_space); in resource_build_test_pattern_params() 1478 odm_cnt = resource_get_opp_heads_for_otg_master(otg_master, res_ctx, opp_heads); in resource_build_test_pattern_params() 2018 int resource_get_opp_heads_for_otg_master(const struct pipe_ctx *otg_master, in resource_get_opp_heads_for_otg_master() argument 2022 struct pipe_ctx *opp_head = &res_ctx->pipe_ctx[otg_master->pipe_idx]; in resource_get_opp_heads_for_otg_master() 2023 struct dc *dc = otg_master->stream->ctx->dc; in resource_get_opp_heads_for_otg_master() 2028 if (!resource_is_pipe_type(otg_master, OTG_MASTER)) { in resource_get_opp_heads_for_otg_master() 2095 struct pipe_ctx *otg_master = resource_get_opp_head(pipe_ctx); in resource_get_otg_master() local [all …]
|
| H A D | dc_hw_sequencer.c | 2131 struct pipe_ctx *otg_master; in hwss_wait_for_odm_update_pending_complete() local 2136 otg_master = &context->res_ctx.pipe_ctx[i]; in hwss_wait_for_odm_update_pending_complete() 2137 if (!resource_is_pipe_type(otg_master, OTG_MASTER) || in hwss_wait_for_odm_update_pending_complete() 2138 dc_state_get_pipe_subvp_type(context, otg_master) == SUBVP_PHANTOM) in hwss_wait_for_odm_update_pending_complete() 2140 tg = otg_master->stream_res.tg; in hwss_wait_for_odm_update_pending_complete()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 1447 struct pipe_ctx *otg_master) in update_dsc_for_odm_change() argument 1456 old_otg_master = &dc->current_state->res_ctx.pipe_ctx[otg_master->pipe_idx]; in update_dsc_for_odm_change() 1471 if (otg_master->stream_res.dsc) in update_dsc_for_odm_change() 1472 dcn32_update_dsc_on_stream(otg_master, in update_dsc_for_odm_change() 1473 otg_master->stream->timing.flags.DSC); in update_dsc_for_odm_change() 1486 struct pipe_ctx *otg_master) in dcn401_update_odm() argument 1491 int odm_slice_width = resource_get_odm_slice_dst_width(otg_master, false); in dcn401_update_odm() 1492 int last_odm_slice_width = resource_get_odm_slice_dst_width(otg_master, true); in dcn401_update_odm() 1496 otg_master, &context->res_ctx, opp_heads); in dcn401_update_odm() 1501 otg_master->stream_res.tg->funcs->set_odm_combine( in dcn401_update_odm() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 914 …struct pipe_ctx *otg_master = ctx->config.callbacks.get_otg_master_for_stream(&state->res_ctx, str… in get_source_odm_factor() local 916 if (!otg_master) in get_source_odm_factor() 919 return ctx->config.callbacks.get_odm_slice_count(otg_master); in get_source_odm_factor()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 2884 const struct pipe_ctx *otg_master) in dcn32_acquire_free_pipe_as_secondary_opp_head() argument 2888 pool, otg_master); in dcn32_acquire_free_pipe_as_secondary_opp_head() 2894 free_pipe->stream = otg_master->stream; in dcn32_acquire_free_pipe_as_secondary_opp_head() 2895 free_pipe->stream_res.tg = otg_master->stream_res.tg; in dcn32_acquire_free_pipe_as_secondary_opp_head() 2904 free_pipe->dsc_padding_params = otg_master->dsc_padding_params; in dcn32_acquire_free_pipe_as_secondary_opp_head() 2917 ASSERT(otg_master); in dcn32_acquire_free_pipe_as_secondary_opp_head()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | dcn32_fpu.c | 1172 struct pipe_ctx *otg_master; in init_pipe_slice_table_from_context() local 1181 otg_master = resource_get_otg_master_for_stream( in init_pipe_slice_table_from_context() 1183 if (!otg_master) in init_pipe_slice_table_from_context() 1186 count = resource_get_odm_slice_count(otg_master); in init_pipe_slice_table_from_context() 1189 count = resource_get_dpp_pipes_for_opp_head(otg_master, in init_pipe_slice_table_from_context() 2091 struct pipe_ctx *otg_master = resource_get_otg_master_for_stream(&context->res_ctx, in dcn32_apply_merge_split_flags_helper() local 2094 if (otg_master) in dcn32_apply_merge_split_flags_helper() 2095 resource_build_test_pattern_params(&context->res_ctx, otg_master); in dcn32_apply_merge_split_flags_helper()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 2204 struct pipe_ctx *otg_master = resource_get_otg_master_for_stream(res_ctx, opp_head->stream); in dcn20_acquire_free_pipe_for_layer() local 2205 …struct pipe_ctx *sec_dpp_pipe = resource_find_free_secondary_pipe_legacy(res_ctx, pool, otg_master… in dcn20_acquire_free_pipe_for_layer() 2207 ASSERT(otg_master); in dcn20_acquire_free_pipe_for_layer()
|