Home
last modified time | relevance | path

Searched refs:stream_index (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
A Ddml2_pmo_dcn3.c28 if (plane_descriptor->stream_index == stream_index) in get_max_reserved_time_on_all_planes_with_stream_index()
44 if (plane_descriptor->stream_index == stream_index) in set_reserved_time_on_all_planes_with_stream_index()
189 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index()
367 int stream_index; in pmo_dcn3_optimize_for_vmin() local
383 if (stream_index < 0 || in pmo_dcn3_optimize_for_vmin()
568 …for (stream_index = 0; stream_index < in_out->base_display_config->display_config.num_streams; str… in pmo_dcn3_init_for_pstate_support()
653 unsigned int i, stream_index; in pmo_dcn3_test_for_pstate_support() local
656 stream_index = in_out->base_display_config->display_config.plane_descriptors[i].stream_index; in pmo_dcn3_test_for_pstate_support()
670 unsigned int stream_index; in pmo_dcn3_optimize_for_pstate_support() local
698 …for (stream_index = 0; stream_index < in_out->optimized_display_config->display_config.num_streams… in pmo_dcn3_optimize_for_pstate_support()
[all …]
A Ddml2_pmo_dcn4_fams2.c237 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index()
575 stream_index = 0; in expand_variant_strategy()
833 int stream_index; in pmo_dcn4_fams2_optimize_for_vmin() local
849 if (stream_index < 0 || in pmo_dcn4_fams2_optimize_for_vmin()
1587 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in validate_pstate_support_strategy_cofunctionality()
1666 int stream_index) in build_fams2_meta_per_stream() argument
1820 int stream_index) in build_subvp_meta_per_stream() argument
1877 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in pmo_dcn4_fams2_init_for_pstate_support()
1940 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in reset_display_configuration()
2117 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in setup_display_config()
[all …]
/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_dcn4.c173 phantom->stream_index = phantom_stream_index; in create_phantom_plane_from_main_plane()
192 unsigned int stream_index, plane_index; in expand_implict_subvp() local
211 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in expand_implict_subvp()
213 scratch->main_stream_index_from_svp_stream_index[stream_index] = stream_index; in expand_implict_subvp()
214 scratch->svp_stream_index_from_main_stream_index[stream_index] = stream_index; in expand_implict_subvp()
282 for (stream_index = 0; stream_index < programming->display_config.num_streams; stream_index++) { in pack_mode_programming_params_with_implicit_subvp()
287 …gramming->stream_programming[stream_index].stream_descriptor = &programming->display_config.stream… in pack_mode_programming_params_with_implicit_subvp()
415 unsigned int i, stream_index, stream_bitmask; in core_dcn4_mode_support() local
509 stream_index = l->svp_expanded_display_cfg.plane_descriptors[i].stream_index; in core_dcn4_mode_support()
514 if (!((stream_bitmask >> stream_index) & 0x1)) { in core_dcn4_mode_support()
[all …]
A Ddml2_core_utils.c592 phantom->stream_index = phantom_stream_index; in create_phantom_plane_from_main_plane()
611 unsigned int stream_index, plane_index; in dml2_core_utils_expand_implict_subvp() local
630 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in dml2_core_utils_expand_implict_subvp()
631 main_stream = &display_cfg->display_config.stream_descriptors[stream_index]; in dml2_core_utils_expand_implict_subvp()
632 scratch->main_stream_index_from_svp_stream_index[stream_index] = stream_index; in dml2_core_utils_expand_implict_subvp()
633 scratch->svp_stream_index_from_main_stream_index[stream_index] = stream_index; in dml2_core_utils_expand_implict_subvp()
635 if (display_cfg->stage3.stream_svp_meta[stream_index].valid) { in dml2_core_utils_expand_implict_subvp()
638 main_stream, &display_cfg->stage3.stream_svp_meta[stream_index]); in dml2_core_utils_expand_implict_subvp()
641 …tch->main_stream_index_from_svp_stream_index[svp_expanded_display_cfg->num_streams] = stream_index; in dml2_core_utils_expand_implict_subvp()
653 if (display_cfg->stage3.stream_svp_meta[main_plane->stream_index].valid) { in dml2_core_utils_expand_implict_subvp()
[all …]
A Ddml2_core_dcn4_calcs.c6949 unsigned int stream_index; in calculate_bytes_to_fetch_required_to_hide_latency() local
6955 stream_index = p->display_cfg->plane_descriptors[plane_index].stream_index; in calculate_bytes_to_fetch_required_to_hide_latency()
6958 ((double)p->display_cfg->stream_descriptors[stream_index].timing.h_total / in calculate_bytes_to_fetch_required_to_hide_latency()
8592 if (!s->stream_visited[display_cfg->plane_descriptors[k].stream_index]) { in dml_core_mode_support()
8593 s->stream_visited[display_cfg->plane_descriptors[k].stream_index] = 1; in dml_core_mode_support()
8787 s->stream_visited[display_cfg->plane_descriptors[k].stream_index] = 1; in dml_core_mode_support()
10384 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml_core_mode_programming() local
10390 if (cfg_support_info->stream_support_info[stream_index].odms_used > 1) in dml_core_mode_programming()
10393 switch (cfg_support_info->stream_support_info[stream_index].odms_used) { in dml_core_mode_programming()
10421 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml_core_mode_programming() local
[all …]
/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_translation_helper.c844 const struct dc_state *context, unsigned int stream_index) in populate_dml21_plane_config_from_plane_state() argument
847 struct dc_stream_state *stream = context->streams[stream_index]; in populate_dml21_plane_config_from_plane_state()
978 plane->stream_index = stream_index; in populate_dml21_plane_config_from_plane_state()
1075 int stream_index, plane_index; in dml21_map_dc_state_into_dml_display_cfg() local
1093 for (stream_index = 0; stream_index < context->stream_count; stream_index++) { in dml21_map_dc_state_into_dml_display_cfg()
1102 …sp_cfg_stream_location].output, context->streams[stream_index], &context->res_ctx.pipe_ctx[stream_… in dml21_map_dc_state_into_dml_display_cfg()
1103 …iptors[disp_cfg_stream_location], context->streams[stream_index], &context->stream_status[stream_i… in dml21_map_dc_state_into_dml_display_cfg()
1112 if (context->stream_status[stream_index].plane_count == 0) { in dml21_map_dc_state_into_dml_display_cfg()
1116 dml_dispcfg->plane_descriptors[disp_cfg_plane_location].stream_index = disp_cfg_stream_location; in dml21_map_dc_state_into_dml_display_cfg()
1119 …o_dml21_display_cfg(dml_ctx, context->streams[stream_index]->stream_id, context->stream_status[str… in dml21_map_dc_state_into_dml_display_cfg()
[all …]
A Ddml21_utils.c60 …am_index(const struct dml2_context *dml_ctx, unsigned int *dml_pipe_idx, unsigned int stream_index) in find_valid_pipe_idx_for_stream_index() argument
65 …ode_programming.programming->plane_programming[i].plane_descriptor->stream_index == stream_index) { in find_valid_pipe_idx_for_stream_index()
105 …>v21.mode_programming.programming->plane_programming[dml_plane_idx].plane_descriptor->stream_index; in dml21_find_dc_pipes_for_plane()
354 …ing.programming->plane_programming[dml_plane_index].plane_descriptor->stream_index == dml_stream_i… in dml21_handle_phantom_streams_planes()
A Ddml21_utils.h30 …m_index(const struct dml2_context *dml_ctx, unsigned int *dml_pipe_idx, unsigned int stream_index);
A Ddml21_wrapper.c119 …tx->v21.mode_programming.programming->stream_programming[pln_prog->plane_descriptor->stream_index]; in dml21_calculate_rq_and_dlg_params()
/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_dc_resource_mgmt.c1039 int stream_index, plane_index, i; in dml2_map_dc_pipes() local
1077 for (stream_index = 0; stream_index < state->stream_count; stream_index++) { in dml2_map_dc_pipes()
1080 stream_id = state->streams[stream_index]->stream_id; in dml2_map_dc_pipes()
1112 …calculate_odm_slices(state->streams[stream_index], scratch.odm_info.odm_factor, scratch.odm_info.o… in dml2_map_dc_pipes()
1115 if (state->stream_status[stream_index].plane_count == 0) { in dml2_map_dc_pipes()
1116 map_pipes_for_stream(ctx, state, state->streams[stream_index], &scratch, existing_state); in dml2_map_dc_pipes()
1119 …for (plane_index = 0; plane_index < state->stream_status[stream_index].plane_count; plane_index++)… in dml2_map_dc_pipes()
1121 if (get_plane_id(ctx, state, state->stream_status[stream_index].plane_states[plane_index], in dml2_map_dc_pipes()
1133 if (dml2_is_stereo_timing(state->streams[stream_index])) in dml2_map_dc_pipes()
1146 map_pipes_for_plane(ctx, state, state->streams[stream_index], in dml2_map_dc_pipes()
[all …]
A Ddml2_utils.c467 unsigned int plane_index, stream_index = 0, num_of_streams; in find_planes_per_stream_and_stream_count() local
471 num_of_planes_per_stream[stream_index] += 1; in find_planes_per_stream_and_stream_count()
474 stream_index++; in find_planes_per_stream_and_stream_count()
477 num_of_streams = stream_index + 1; in find_planes_per_stream_and_stream_count()
484 unsigned int num_of_streams = 0, plane_index = 0, max_det_size, stream_index = 0; in dml2_apply_det_buffer_allocation_policy() local
496 …_index] = ((max_det_size / num_of_streams) / num_of_planes_per_stream[stream_index] / in_ctx->det_… in dml2_apply_det_buffer_allocation_policy()
506 stream_index++; in dml2_apply_det_buffer_allocation_policy()
/drivers/staging/media/atomisp/pci/
A Datomisp_compat.h191 unsigned short stream_index, bool enable);
194 unsigned short stream_index, bool enable);
215 unsigned int stream_index,
259 unsigned int stream_index,
A Datomisp_compat_css20.c1691 unsigned short stream_index, bool enable) in atomisp_css_capture_enable_online() argument
1694 &asd->stream_env[stream_index]; in atomisp_css_capture_enable_online()
1704 unsigned short stream_index, bool enable) in atomisp_css_preview_enable_online() argument
1707 &asd->stream_env[stream_index]; in atomisp_css_preview_enable_online()
1875 unsigned int stream_index, in __configure_output() argument
1883 &asd->stream_env[stream_index]; in __configure_output()
2210 unsigned int stream_index, in __get_frame_info() argument
2287 int stream_index; in atomisp_get_css_frame_info() local
2305 unsigned int stream_index, in atomisp_css_copy_configure_output() argument
2388 unsigned int stream_index, in atomisp_css_copy_get_output_frame_info() argument
[all …]
A Datomisp_cmd.c3496 u16 stream_index, struct atomisp_input_stream_info *stream_info) in __atomisp_update_stream_env() argument
3501 asd->stream_env[stream_index].ch_id = stream_info->ch_id; in __atomisp_update_stream_env()
3502 asd->stream_env[stream_index].isys_configs = stream_info->isys_configs; in __atomisp_update_stream_env()
3504 asd->stream_env[stream_index].isys_info[i].input_format = in __atomisp_update_stream_env()
3506 asd->stream_env[stream_index].isys_info[i].width = in __atomisp_update_stream_env()
3508 asd->stream_env[stream_index].isys_info[i].height = in __atomisp_update_stream_env()
3513 static void __atomisp_init_stream_info(u16 stream_index, in __atomisp_init_stream_info() argument
3519 stream_info->stream = stream_index; in __atomisp_init_stream_info()
/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_display_cfg_types.h310 unsigned int stream_index; // Identifies which plane will be composed member
/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
A Ddml2_top_soc15.c536 stream = &params->display_cfg->stream_descriptors[plane->stream_index]; in dml2_top_mcache_validate_admissability()
538 …num_dpps = odm_combine_factor = params->cfg_support_info->stream_support_info[plane->stream_index]… in dml2_top_mcache_validate_admissability()
/drivers/net/wireless/marvell/
A Dmwl8k.c3831 u8 bitmap = 0, stream_index; in mwl8k_watchdog_ba_events() local
3850 stream_index = (i + MWL8K_WMM_QUEUE_NUMBER) % in mwl8k_watchdog_ba_events()
3852 streams = &priv->ampdu[stream_index]; in mwl8k_watchdog_ba_events()
3857 mwl8k_destroy_ba(hw, stream_index); in mwl8k_watchdog_ba_events()
/drivers/accel/habanalabs/gaudi2/
A Dgaudi2.c11059 u32 stream_index, size = prop->size; in gaudi2_gen_wait_cb() local
11062 stream_index = prop->q_idx % 4; in gaudi2_gen_wait_cb()
11064 QM_FENCE2_OFFSET + stream_index * 4; in gaudi2_gen_wait_cb()

Completed in 104 milliseconds