/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/ |
H A D | dml2_pmo_dcn3.c | 20 static double get_max_reserved_time_on_all_planes_with_stream_index(struct display_configuation_with_meta *config, unsigned int stream_index) in get_max_reserved_time_on_all_planes_with_stream_index() argument 28 if (plane_descriptor->stream_index == stream_index) in get_max_reserved_time_on_all_planes_with_stream_index() 37 static void set_reserved_time_on_all_planes_with_stream_index(struct display_configuation_with_meta *config, unsigned int stream_index, double reserved_time_us) in set_reserved_time_on_all_planes_with_stream_index() argument 44 if (plane_descriptor->stream_index == stream_index) in set_reserved_time_on_all_planes_with_stream_index() 89 if (in_out->cfg_support_info->stream_support_info[in_out->optimized_display_cfg->plane_descriptors[i].stream_index].odms_used == 1) { in optimize_dcc_mcache_no_odm() 183 static int count_planes_with_stream_index(const struct dml2_display_cfg *display_cfg, unsigned int stream_index) in count_planes_with_stream_index() argument 189 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index() 367 int stream_index; pmo_dcn3_optimize_for_vmin() local 530 unsigned int stream_index, plane_index, candidate_count; pmo_dcn3_init_for_pstate_support() local 653 unsigned int i, stream_index; pmo_dcn3_test_for_pstate_support() local 670 unsigned int stream_index; pmo_dcn3_optimize_for_pstate_support() local [all...] |
H A D | dml2_pmo_dcn4_fams2.c | 231 static int count_planes_with_stream_index(const struct dml2_display_cfg *display_cfg, unsigned int stream_index) in count_planes_with_stream_index() argument 237 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index() 258 if (in_out->cfg_support_info->stream_support_info[in_out->optimized_display_cfg->plane_descriptors[i].stream_index].odms_used == 1) { in optimize_dcc_mcache_no_odm() 546 unsigned int stream_index; in expand_variant_strategy() local 575 stream_index = 0; in expand_variant_strategy() 579 variant_strategy.per_stream_pstate_method[stream_index++] = base_strategy->per_stream_pstate_method[i]; in expand_variant_strategy() 583 variant_strategy.per_stream_pstate_method[stream_index++] = per_stream_variant_method[i]; in expand_variant_strategy() 769 mode_support_result->cfg_support_info.stream_support_info[display_config->plane_descriptors[i].stream_index].odms_used == 1) in pmo_dcn4_fams2_init_for_vmin() 770 state->unoptimizable_streams[display_config->plane_descriptors[i].stream_index] in pmo_dcn4_fams2_init_for_vmin() 833 int stream_index; pmo_dcn4_fams2_optimize_for_vmin() local 1518 stream_matches_drr_policy(struct dml2_pmo_instance * pmo,const struct display_configuation_with_meta * display_cfg,const enum dml2_pstate_method stream_pstate_method,unsigned int stream_index) stream_matches_drr_policy() argument 1572 unsigned int stream_index = 0; validate_pstate_support_strategy_cofunctionality() local 1666 build_fams2_meta_per_stream(struct dml2_pmo_instance * pmo,struct display_configuation_with_meta * display_config,int stream_index) build_fams2_meta_per_stream() argument 1820 build_subvp_meta_per_stream(struct dml2_pmo_instance * pmo,struct display_configuation_with_meta * display_config,int stream_index) build_subvp_meta_per_stream() argument 1844 unsigned int plane_index, stream_index, i; pmo_dcn4_fams2_init_for_pstate_support() local 1937 unsigned int stream_index; reset_display_configuration() local 1989 int stream_index = -1; setup_planes_for_svp_by_mask() local 2012 int stream_index = -1; setup_planes_for_svp_drr_by_mask() local 2070 unsigned int stream_index; setup_planes_for_vactive_by_mask() local 2091 unsigned int stream_index; setup_planes_for_vactive_drr_by_mask() local 2113 unsigned int stream_index; setup_display_config() local 2172 unsigned int stream_index; pmo_dcn4_fams2_test_for_pstate_support() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4.c | 173 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() 212 main_stream = &display_cfg->display_config.stream_descriptors[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() 256 unsigned int stream_index, plane_index, pipe_offset, stream_already_populated_mask, main_plane_index, mcache_index; pack_mode_programming_params_with_implicit_subvp() local 415 unsigned int i, stream_index, stream_bitmask; core_dcn4_mode_support() local [all...] |
H A D | dml2_core_utils.c | 338 double bpc = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.bpc; in dml2_core_utils_get_stream_output_bpp() 339 if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable == dml2_dsc_disable) { in dml2_core_utils_get_stream_output_bpp() 340 switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.output_format) { in dml2_core_utils_get_stream_output_bpp() 355 } else if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable == dml2_dsc_enable) { in dml2_core_utils_get_stream_output_bpp() 356 out_bpp[k] = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.dsc_compressed_bpp_x16 / 16; in dml2_core_utils_get_stream_output_bpp() 362 DML_LOG_VERBOSE("DML::%s: k=%d dsc.enable=%d\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable); in dml2_core_utils_get_stream_output_bpp() 592 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_cf in dml2_core_utils_expand_implict_subvp() [all...] |
H A D | dml2_core_dcn4_calcs.c | 160 double bpc = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.bpc; in get_stream_output_bpp() 161 if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable == dml2_dsc_disable) { in get_stream_output_bpp() 162 switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.output_format) { in get_stream_output_bpp() 177 } else if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable == dml2_dsc_enable) { in get_stream_output_bpp() 178 out_bpp[k] = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.dsc_compressed_bpp_x16 / 16; in get_stream_output_bpp() 183 DML_LOG_VERBOSE("DML::%s: k=%d dsc.enable=%d\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable); in get_stream_output_bpp() 434 PixelClockBackEnd[k] = ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000); in PixelClockAdjustmentForProgressiveToInterlaceUnit() 435 if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.interlaced == 1 && ptoi_supported == true) { in PixelClockAdjustmentForProgressiveToInterlaceUnit() 437 //display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz = 2 * display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index] in PixelClockAdjustmentForProgressiveToInterlaceUnit() 6949 unsigned int stream_index; calculate_bytes_to_fetch_required_to_hide_latency() local 10384 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; dml_core_mode_programming() local 10421 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; dml_core_mode_programming() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_translation_helper.c | 844 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() 1094 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() 1100 populate_dml21_timing_config_from_stream_state(&dml_dispcfg->stream_descriptors[disp_cfg_stream_location].timing, context->streams[stream_index], dml_ct in dml21_map_dc_state_into_dml_display_cfg() [all...] |
H A D | dml21_utils.c | 60 void find_valid_pipe_idx_for_stream_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 if (dml_ctx->v21.mode_programming.programming->plane_programming[i].plane_descriptor->stream_index == stream_index) { in find_valid_pipe_idx_for_stream_index() 105 dml_stream_index = dml_ctx->v21.mode_programming.programming->plane_programming[dml_plane_idx].plane_descriptor->stream_index; in dml21_find_dc_pipes_for_plane() 354 if (dml_ctx->v21.mode_programming.programming->plane_programming[dml_plane_index].plane_descriptor->stream_index == dml_stream_index) { in dml21_handle_phantom_streams_planes()
|
H A D | dml21_utils.h | 30 void find_valid_pipe_idx_for_stream_index(const struct dml2_context *dml_ctx, unsigned int *dml_pipe_idx, unsigned int stream_index);
|
H A D | dml21_wrapper.c | 119 stream_prog = &in_ctx->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/ |
H A D | dml2_dc_resource_mgmt.c | 1039 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.odm_slice_end_x); 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] in dml2_map_dc_pipes() [all...] |
H A D | dml2_utils.c | 467 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 dml_dispcfg->plane.DETSizeOverride[plane_index] = ((max_det_size / num_of_streams) / num_of_planes_per_stream[stream_index] / in_ctx->det_helper_scratch.dpps_per_surface[plane_index]); in dml2_apply_det_buffer_allocation_policy() 506 stream_index++; in dml2_apply_det_buffer_allocation_policy()
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat.h | 191 unsigned short stream_index, bool enable); 194 unsigned short stream_index, bool enable); 215 unsigned int stream_index, 259 unsigned int stream_index,
|
H A D | atomisp_compat_css20.c | 1691 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 2224 ret = ia_css_pipe_get_info(asd->stream_env[stream_index].pipes[pipe_id], in __get_frame_info() 2287 int stream_index; in atomisp_get_css_frame_info() local 2290 stream_index in atomisp_get_css_frame_info() 2305 atomisp_css_copy_configure_output(struct atomisp_sub_device * asd,unsigned int stream_index,unsigned int width,unsigned int height,unsigned int padded_width,enum ia_css_frame_format format) atomisp_css_copy_configure_output() argument 2388 atomisp_css_copy_get_output_frame_info(struct atomisp_sub_device * asd,unsigned int stream_index,struct ia_css_frame_info * info) atomisp_css_copy_get_output_frame_info() argument [all...] |
H A D | atomisp_cmd.c | 3496 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
H A D | dml_top_display_cfg_types.h | 310 unsigned int stream_index; // Identifies which plane will be composed member
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/ |
H A D | dml2_top_soc15.c | 536 stream = ¶ms->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].odms_used; in dml2_top_mcache_validate_admissability()
|
/linux/sound/pci/asihpi/ |
H A D | hpi_internal.h | 625 u16 stream_index; /**< outstream or instream index. */ member
|
H A D | hpi6000.c | 1744 hm.obj_index = phm->u.d.u.stream.stream_index; in hw_message()
|
H A D | hpifunc.c | 791 &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/ |
H A D | mwl8k.c | 3831 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()
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 11059 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()
|