Home
last modified time | relevance | path

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

/linux/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()
363 int stream_index; in pmo_dcn3_optimize_for_vmin() local
379 if (stream_index < 0 || in pmo_dcn3_optimize_for_vmin()
564 …for (stream_index = 0; stream_index < in_out->base_display_config->display_config.num_streams; str… in pmo_dcn3_init_for_pstate_support()
649 unsigned int i, stream_index; in pmo_dcn3_test_for_pstate_support() local
652 stream_index = in_out->base_display_config->display_config.plane_descriptors[i].stream_index; in pmo_dcn3_test_for_pstate_support()
666 unsigned int stream_index; in pmo_dcn3_optimize_for_pstate_support() local
694 …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()
572 stream_index = 0; in expand_variant_strategy()
799 int stream_index; in pmo_dcn4_fams2_optimize_for_vmin() local
815 if (stream_index < 0 || in pmo_dcn4_fams2_optimize_for_vmin()
1486 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in validate_pstate_support_strategy_cofunctionality()
1565 int stream_index) in build_fams2_meta_per_stream() argument
1719 int stream_index) in build_subvp_meta_per_stream() argument
1770 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in pmo_dcn4_fams2_init_for_pstate_support()
1815 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in reset_display_configuration()
1992 for (stream_index = 0; stream_index < display_config->display_config.num_streams; stream_index++) { in setup_display_config()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_dcn4.c171 phantom->stream_index = phantom_stream_index; in create_phantom_plane_from_main_plane()
190 unsigned int stream_index, plane_index; in expand_implict_subvp() local
209 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in expand_implict_subvp()
211 scratch->main_stream_index_from_svp_stream_index[stream_index] = stream_index; in expand_implict_subvp()
212 scratch->svp_stream_index_from_main_stream_index[stream_index] = stream_index; in expand_implict_subvp()
279 for (stream_index = 0; stream_index < programming->display_config.num_streams; stream_index++) { in pack_mode_programming_params_with_implicit_subvp()
284 …gramming->stream_programming[stream_index].stream_descriptor = &programming->display_config.stream… in pack_mode_programming_params_with_implicit_subvp()
407 unsigned int i, stream_index, stream_bitmask; in core_dcn4_mode_support() local
501 stream_index = l->svp_expanded_display_cfg.plane_descriptors[i].stream_index; in core_dcn4_mode_support()
506 if (!((stream_bitmask >> stream_index) & 0x1)) { in core_dcn4_mode_support()
[all …]
A Ddml2_core_utils.c437 phantom->stream_index = phantom_stream_index; in create_phantom_plane_from_main_plane()
456 unsigned int stream_index, plane_index; in dml2_core_utils_expand_implict_subvp() local
475 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in dml2_core_utils_expand_implict_subvp()
476 main_stream = &display_cfg->display_config.stream_descriptors[stream_index]; in dml2_core_utils_expand_implict_subvp()
477 scratch->main_stream_index_from_svp_stream_index[stream_index] = stream_index; in dml2_core_utils_expand_implict_subvp()
478 scratch->svp_stream_index_from_main_stream_index[stream_index] = stream_index; in dml2_core_utils_expand_implict_subvp()
480 if (display_cfg->stage3.stream_svp_meta[stream_index].valid) { in dml2_core_utils_expand_implict_subvp()
483 main_stream, &display_cfg->stage3.stream_svp_meta[stream_index]); in dml2_core_utils_expand_implict_subvp()
486 …tch->main_stream_index_from_svp_stream_index[svp_expanded_display_cfg->num_streams] = stream_index; in dml2_core_utils_expand_implict_subvp()
498 if (display_cfg->stage3.stream_svp_meta[main_plane->stream_index].valid) { in dml2_core_utils_expand_implict_subvp()
[all …]
A Ddml2_core_shared.c954 && (display_cfg->plane_descriptors[k].stream_index == k)) { in dml2_core_shared_mode_support()
1222 if (display_cfg->plane_descriptors[k].stream_index == k) { in dml2_core_shared_mode_support()
1251 (display_cfg->plane_descriptors[k].stream_index == k), in dml2_core_shared_mode_support()
1386 if (display_cfg->plane_descriptors[k].stream_index == k) { in dml2_core_shared_mode_support()
1478 if (display_cfg->plane_descriptors[k].stream_index == k && in dml2_core_shared_mode_support()
1496 if (display_cfg->plane_descriptors[k].stream_index == k) { in dml2_core_shared_mode_support()
1882 if (display_cfg->plane_descriptors[k].stream_index == k) { in dml2_core_shared_mode_support()
2817 if (display_cfg->plane_descriptors[k].stream_index == k) { in dml2_core_shared_mode_support()
9848 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml2_core_shared_mode_programming() local
9885 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml2_core_shared_mode_programming() local
[all …]
A Ddml2_core_dcn4_calcs.c6686 unsigned int stream_index; in calculate_bytes_to_fetch_required_to_hide_latency() local
6692 stream_index = p->display_cfg->plane_descriptors[plane_index].stream_index; in calculate_bytes_to_fetch_required_to_hide_latency()
6695 ((double)p->display_cfg->stream_descriptors[stream_index].timing.h_total / in calculate_bytes_to_fetch_required_to_hide_latency()
7706 if (!s->stream_visited[display_cfg->plane_descriptors[k].stream_index]) { in dml_core_mode_support()
7707 s->stream_visited[display_cfg->plane_descriptors[k].stream_index] = 1; in dml_core_mode_support()
7901 s->stream_visited[display_cfg->plane_descriptors[k].stream_index] = 1; in dml_core_mode_support()
10017 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml_core_mode_programming() local
10023 if (cfg_support_info->stream_support_info[stream_index].odms_used > 1) in dml_core_mode_programming()
10026 switch (cfg_support_info->stream_support_info[stream_index].odms_used) { in dml_core_mode_programming()
10054 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dml_core_mode_programming() local
[all …]
/linux/sound/soc/amd/ps/
A Dpci-ps.c107 u32 stream_index; in acp63_irq_thread() local
111 for (stream_index = 0; stream_index < ACP63_SDW0_DMA_MAX_STREAMS; stream_index++) { in acp63_irq_thread()
112 if (adata->sdw0_dma_intr_stat[stream_index]) { in acp63_irq_thread()
113 if (sdw_dma_data->sdw0_dma_stream[stream_index]) in acp63_irq_thread()
114 snd_pcm_period_elapsed(sdw_dma_data->sdw0_dma_stream[stream_index]); in acp63_irq_thread()
115 adata->sdw0_dma_intr_stat[stream_index] = 0; in acp63_irq_thread()
118 for (stream_index = 0; stream_index < ACP63_SDW1_DMA_MAX_STREAMS; stream_index++) { in acp63_irq_thread()
119 if (adata->sdw1_dma_intr_stat[stream_index]) { in acp63_irq_thread()
120 if (sdw_dma_data->sdw1_dma_stream[stream_index]) in acp63_irq_thread()
121 snd_pcm_period_elapsed(sdw_dma_data->sdw1_dma_stream[stream_index]); in acp63_irq_thread()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_translation_helper.c723 const struct dc_state *context, unsigned int stream_index) in populate_dml21_plane_config_from_plane_state() argument
726 struct dc_stream_state *stream = context->streams[stream_index]; in populate_dml21_plane_config_from_plane_state()
855 plane->stream_index = stream_index; in populate_dml21_plane_config_from_plane_state()
950 int stream_index, plane_index; in dml21_map_dc_state_into_dml_display_cfg() local
968 for (stream_index = 0; stream_index < context->stream_count; stream_index++) { in dml21_map_dc_state_into_dml_display_cfg()
969 …disp_cfg_stream_location = map_stream_to_dml21_display_cfg(dml_ctx, context->streams[stream_index]… in dml21_map_dc_state_into_dml_display_cfg()
976 …sp_cfg_stream_location].output, context->streams[stream_index], &context->res_ctx.pipe_ctx[stream_… in dml21_map_dc_state_into_dml_display_cfg()
986 if (context->stream_status[stream_index].plane_count == 0) { in dml21_map_dc_state_into_dml_display_cfg()
990 dml_dispcfg->plane_descriptors[disp_cfg_plane_location].stream_index = disp_cfg_stream_location; in dml21_map_dc_state_into_dml_display_cfg()
1001 …_cfg_plane_location], context->stream_status[stream_index].plane_states[plane_index], context, str… in dml21_map_dc_state_into_dml_display_cfg()
[all …]
A Ddml21_utils.h30 …m_index(const struct dml2_context *dml_ctx, unsigned int *dml_pipe_idx, unsigned int stream_index);
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()
454 …ing.programming->plane_programming[dml_plane_index].plane_descriptor->stream_index == dml_stream_i… in dml21_handle_phantom_streams_planes()
A Ddml21_wrapper.c147 …tx->v21.mode_programming.programming->stream_programming[pln_prog->plane_descriptor->stream_index]; in dml21_calculate_rq_and_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_dc_resource_mgmt.c1044 int stream_index, plane_index, i; in dml2_map_dc_pipes() local
1082 for (stream_index = 0; stream_index < state->stream_count; stream_index++) { in dml2_map_dc_pipes()
1085 stream_id = state->streams[stream_index]->stream_id; in dml2_map_dc_pipes()
1117 …calculate_odm_slices(state->streams[stream_index], scratch.odm_info.odm_factor, scratch.odm_info.o… in dml2_map_dc_pipes()
1120 if (state->stream_status[stream_index].plane_count == 0) { in dml2_map_dc_pipes()
1121 map_pipes_for_stream(ctx, state, state->streams[stream_index], &scratch, existing_state); in dml2_map_dc_pipes()
1124 …for (plane_index = 0; plane_index < state->stream_status[stream_index].plane_count; plane_index++)… in dml2_map_dc_pipes()
1126 if (get_plane_id(ctx, state, state->stream_status[stream_index].plane_states[plane_index], in dml2_map_dc_pipes()
1138 if (dml2_is_stereo_timing(state->streams[stream_index])) in dml2_map_dc_pipes()
1151 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()
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_compat.h202 unsigned short stream_index, bool enable);
205 unsigned short stream_index, bool enable);
226 unsigned int stream_index,
270 unsigned int stream_index,
A Datomisp_compat_css20.c1702 unsigned short stream_index, bool enable) in atomisp_css_capture_enable_online() argument
1705 &asd->stream_env[stream_index]; in atomisp_css_capture_enable_online()
1715 unsigned short stream_index, bool enable) in atomisp_css_preview_enable_online() argument
1718 &asd->stream_env[stream_index]; in atomisp_css_preview_enable_online()
1886 unsigned int stream_index, in __configure_output() argument
1894 &asd->stream_env[stream_index]; in __configure_output()
2221 unsigned int stream_index, in __get_frame_info() argument
2298 int stream_index; in atomisp_get_css_frame_info() local
2316 unsigned int stream_index, in atomisp_css_copy_configure_output() argument
2399 unsigned int stream_index, in atomisp_css_copy_get_output_frame_info() argument
[all …]
A Datomisp_cmd.c3505 u16 stream_index, struct atomisp_input_stream_info *stream_info) in __atomisp_update_stream_env() argument
3510 asd->stream_env[stream_index].ch_id = stream_info->ch_id; in __atomisp_update_stream_env()
3511 asd->stream_env[stream_index].isys_configs = stream_info->isys_configs; in __atomisp_update_stream_env()
3513 asd->stream_env[stream_index].isys_info[i].input_format = in __atomisp_update_stream_env()
3515 asd->stream_env[stream_index].isys_info[i].width = in __atomisp_update_stream_env()
3517 asd->stream_env[stream_index].isys_info[i].height = in __atomisp_update_stream_env()
3522 static void __atomisp_init_stream_info(u16 stream_index, in __atomisp_init_stream_info() argument
3528 stream_info->stream = stream_index; in __atomisp_init_stream_info()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_display_cfg_types.h309 unsigned int stream_index; // Identifies which plane will be composed member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
A Ddml_top_mcache.c227 stream = &params->display_cfg->stream_descriptors[plane->stream_index]; in dml2_top_mcache_validate_admissability()
229 …num_dpps = odm_combine_factor = params->cfg_support_info->stream_support_info[plane->stream_index]… in dml2_top_mcache_validate_admissability()
/linux/sound/pci/asihpi/
A Dhpi_internal.h625 u16 stream_index; /**< outstream or instream index. */ member
A Dhpi6000.c1744 hm.obj_index = phm->u.d.u.stream.stream_index; in hw_message()
A Dhpifunc.c791 &hm.u.d.u.stream.stream_index)) in hpi_outstream_group_add()
1147 &hm.u.d.u.stream.stream_index)) in hpi_instream_group_add()
/linux/drivers/net/wireless/marvell/
A Dmwl8k.c3826 u8 bitmap = 0, stream_index; in mwl8k_watchdog_ba_events() local
3845 stream_index = (i + MWL8K_WMM_QUEUE_NUMBER) % in mwl8k_watchdog_ba_events()
3847 streams = &priv->ampdu[stream_index]; in mwl8k_watchdog_ba_events()
3852 mwl8k_destroy_ba(hw, stream_index); in mwl8k_watchdog_ba_events()
/linux/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 160 milliseconds