| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/ |
| H A D | dml2_pmo_dcn6_stage_optimizers.c | 410 unsigned int plane_index, stream_index; in dcn6_update_worksheet_for_pstate_admissibility() local 440 for (stream_index = 0; stream_index < display_config->num_streams; stream_index++) { in dcn6_update_worksheet_for_pstate_admissibility() 441 disallow_time_us = per_stream_pstate_meta[stream_index].method_vactive.common.disallow_time_us; in dcn6_update_worksheet_for_pstate_admissibility() 442 …ideal_disallow_time_us = per_stream_pstate_meta[stream_index].method_vactive.common.period_us * id… in dcn6_update_worksheet_for_pstate_admissibility() 449 vblank_time_us = display_config->stream_descriptors[stream_index].timing.vblank_nom * in dcn6_update_worksheet_for_pstate_admissibility() 450 per_stream_pstate_meta[stream_index].otg_vline_time_us; in dcn6_update_worksheet_for_pstate_admissibility() 454 min_det_fill_delay_us = per_stream_pstate_meta[stream_index].blackout_otg_vlines * in dcn6_update_worksheet_for_pstate_admissibility() 455 per_stream_pstate_meta[stream_index].otg_vline_time_us; in dcn6_update_worksheet_for_pstate_admissibility() 462 …per_stream_pstate_meta[stream_index].method_vactive.max_vactive_det_fill_delay_us - min_det_fill_d… in dcn6_update_worksheet_for_pstate_admissibility() 463 …_us = math_floor2(delta_max_det_fill_delay_us, per_stream_pstate_meta[stream_index].otg_vline_time… in dcn6_update_worksheet_for_pstate_admissibility() [all …]
|
| /linux/drivers/pci/ |
| H A D | ide.c | 17 static int __sel_ide_offset(u16 ide_cap, u8 nr_link_ide, u8 stream_index, in __sel_ide_offset() argument 27 return offset + stream_index * PCI_IDE_SEL_BLOCK_SIZE(nr_ide_mem); in __sel_ide_offset() 34 settings->stream_index, pdev->nr_ide_mem); in sel_ide_offset() 194 struct stream_index { struct 196 u8 stream_index; argument 199 static void free_stream_index(struct stream_index *stream) in free_stream_index() 201 ida_free(stream->ida, stream->stream_index); in free_stream_index() 204 DEFINE_FREE(free_stream, struct stream_index *, if (_T) free_stream_index(_T)) in DEFINE_FREE() argument 205 static struct stream_index *alloc_stream_index(struct ida *ida, u16 max, in DEFINE_FREE() 206 struct stream_index *stream) in DEFINE_FREE() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/ |
| H A D | dml2_core_utils.c | 340 …(double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.bpc; in dml2_core_utils_get_stream_output_bpp() 341 …if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.ena… in dml2_core_utils_get_stream_output_bpp() 342 …switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.out… in dml2_core_utils_get_stream_output_bpp() 357 …} else if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.… in dml2_core_utils_get_stream_output_bpp() 358 …ble)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.dsc… in dml2_core_utils_get_stream_output_bpp() 364 … k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.ena… in dml2_core_utils_get_stream_output_bpp() 594 phantom->stream_index = phantom_stream_index; in create_phantom_plane_from_main_plane() 613 unsigned int stream_index, plane_index; in dml2_core_utils_expand_implict_subvp() local 632 for (stream_index = 0; stream_index < display_cfg->display_config.num_streams; stream_index++) { in dml2_core_utils_expand_implict_subvp() 633 main_stream = &display_cfg->display_config.stream_descriptors[stream_index]; in dml2_core_utils_expand_implict_subvp() [all …]
|
| H A D | dml2_core_dcn5_funcs_mode_programming.c | 53 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; in dcn5_mode_programming() local 54 DML_ASSERT(cfg_support_info->stream_support_info[stream_index].odms_used <= 4); in dcn5_mode_programming() 55 DML_ASSERT(cfg_support_info->stream_support_info[stream_index].num_odm_output_segments == 4 || in dcn5_mode_programming() 56 cfg_support_info->stream_support_info[stream_index].num_odm_output_segments == 2 || in dcn5_mode_programming() 57 cfg_support_info->stream_support_info[stream_index].num_odm_output_segments == 1); in dcn5_mode_programming() 59 if (cfg_support_info->stream_support_info[stream_index].odms_used > 1) in dcn5_mode_programming() 60 DML_ASSERT(cfg_support_info->stream_support_info[stream_index].num_odm_output_segments == 1); in dcn5_mode_programming() 62 switch (cfg_support_info->stream_support_info[stream_index].odms_used) { in dcn5_mode_programming() 73 if (cfg_support_info->stream_support_info[stream_index] in dcn5_mode_programming() 90 unsigned int stream_index = display_cfg->plane_descriptors[k].stream_index; dcn5_mode_programming() local 1717 int stream_index = programming->display_config.plane_descriptors[plane_idx].stream_index; dcn5_pack_mode_programming_params() local [all...] |
| H A D | dml2_core_dcn6_calcs_dchub.c | 58 if (p->display_cfg->plane_descriptors[j].stream_index == i) { in dcn6_calculate_alternate_svp_lines() 238 unsigned int h_active = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[plane_idx].stream_index].timing.h_active; in calculate_max_mem_size_per_plane_per_dpp() 326 if (p->display_cfg->plane_descriptors[j].stream_index != i) 516 if (p->display_cfg->plane_descriptors[j].stream_index == i) { in dcn6_calculate_flip_schedule() 744 l->stream_idx = display_cfg->plane_descriptors[l->plane_idx].stream_index; in dcn6_rq_dlg_get_dlg_reg() 761 l->timing = &display_cfg->stream_descriptors[display_cfg->plane_descriptors[l->plane_idx].stream_index].timing; in dcn6_rq_dlg_get_dlg_reg() 1186 for (unsigned int j = 0; j < p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].writeback.active_writebacks_per_stream; ++j) in dcn6_calculate_watermarks_and_dram_speed_change_support() 1219 double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total; in dcn6_calculate_watermarks_and_dram_speed_change_support() 1220 double pixel_clock_mhz = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000.0; in dcn6_calculate_watermarks_and_dram_speed_change_support() 1232 double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index] in dcn6_calculate_watermarks_and_dram_speed_change_support() [all...] |
| H A D | dml2_core_dcn5_calcs_dchub.c | 311 SwathWidthY[k] = (unsigned int)(math_min2((double)SwathWidthSingleDPPY[k], math_round((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_active / odm_hactive_factor * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_ratio))); in dcn5_calculate_swath_width() 319 DML_LOG_VERBOSE("DML::%s: k=%u HActive=%lu\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_active); in dcn5_calculate_swath_width() 574 l->TotalBandwidthPerStream[display_cfg->plane_descriptors[k].stream_index] += (unsigned int)(ReadBandwidthLuma[k] + ReadBandwidthChroma[k]); in dcn5_calculate_det_buffer_size() 577 if (l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index] >= DETBufferSizeInKByte[k] * (ForceSingleDPP ? 1 : DPPPerSurface[k])) { in dcn5_calculate_det_buffer_size() 578 l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index] -= DETBufferSizeInKByte[k] * (ForceSingleDPP ? 1 : DPPPerSurface[k]); in dcn5_calculate_det_buffer_size() 591 l->IdealDETBudget = (unsigned int)(((ReadBandwidthLuma[k] + ReadBandwidthChroma[k]) / l->TotalBandwidthPerStream[display_cfg->plane_descriptors[k].stream_index]) in dcn5_calculate_det_buffer_size() 592 * l->DETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index]); in dcn5_calculate_det_buffer_size() 596 if (l->DeltaDETBudget > l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index]) in dcn5_calculate_det_buffer_size() 597 l->DeltaDETBudget = l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index]; in dcn5_calculate_det_buffer_size() 601 l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index] in dcn5_calculate_det_buffer_size() 1636 unsigned int stream_index; dcn5_calculate_bytes_to_fetch_required_to_hide_latency() local 4224 dcn5_calculate_writeback_latency_hiding_us(const struct dml2_display_cfg * display_cfg,unsigned int writeback_buffer_size_bytes,unsigned int stream_index,unsigned int dwb_index) dcn5_calculate_writeback_latency_hiding_us() argument 5877 dcn5_get_per_dwb_params(const struct dml2_display_cfg * display_cfg,const struct dml2_core_internal_display_mode_lib * mode_lib,struct dml2_mcif_per_pipe_register_set * out,int stream_index,int dwb_index) dcn5_get_per_dwb_params() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | |
| /linux/drivers/gpu/drm/amd/display/modules/power/ |
| H A D | power.c | 459 unsigned int stream_index = 0; in mod_power_notify_mode_change() local 474 stream_index = map_index_from_stream(core_power, stream); in mod_power_notify_mode_change() 476 if (stream_index >= core_power->num_entities) in mod_power_notify_mode_change() 488 mod_power_psr_notify_mode_change(mod_power, stream, link, stream_index); in mod_power_notify_mode_change() 491 mod_power_replay_notify_mode_change(mod_power, dc, link, stream, stream_index); in mod_power_notify_mode_change()
|
| H A D | power_abm.c | 1334 int stream_index; in mod_power_get_hw_backlight_aux_nits() local 1347 for (stream_index = 0; stream_index < num_streams; stream_index++) in mod_power_get_hw_backlight_aux_nits() 1348 if (streams[stream_index]->link->connector_signal == SIGNAL_TYPE_EDP || in mod_power_get_hw_backlight_aux_nits() 1349 streams[stream_index]->link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT) in mod_power_get_hw_backlight_aux_nits() 1352 if (stream_index == num_streams) in mod_power_get_hw_backlight_aux_nits() 1355 link = dc_stream_get_link(streams[stream_index]); in mod_power_get_hw_backlight_aux_nits()
|
| /linux/include/linux/ |
| H A D | pci-ide.h | 48 u8 stream_index; member
|
| /linux/sound/pci/asihpi/ |
| H A D | hpi_internal.h | 625 u16 stream_index; /**< outstream or instream index. */ member
|
| H A D | hpi6000.c | 1749 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/accel/habanalabs/gaudi2/ |
| H A D | gaudi2.c | 11423 u32 stream_index, size = prop->size; in gaudi2_gen_wait_cb() local 11426 stream_index = prop->q_idx % 4; in gaudi2_gen_wait_cb() 11428 QM_FENCE2_OFFSET + stream_index * 4; in gaudi2_gen_wait_cb()
|