| /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; member 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].num_odm_output_segments == 4) in dcn5_mode_programming() 75 else if (cfg_support_info->stream_support_info[stream_index].num_odm_output_segments == 2) in dcn5_mode_programming() [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() 220 …_cfg->stream_descriptors[p->display_cfg->plane_descriptors[plane_idx].stream_index].timing.h_activ… in calculate_max_mem_size_per_plane_per_dpp() 307 if (p->display_cfg->plane_descriptors[j].stream_index != i) in calculate_alt_copy_time_us() 466 if (p->display_cfg->plane_descriptors[j].stream_index == i) { in dcn6_calculate_alternate_params() 692 l->stream_idx = display_cfg->plane_descriptors[l->plane_idx].stream_index; in dcn6_rq_dlg_get_dlg_reg() 709 …&display_cfg->stream_descriptors[display_cfg->plane_descriptors[l->plane_idx].stream_index].timing; in dcn6_rq_dlg_get_dlg_reg() 1134 …>display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].writeback.acti… in dcn6_calculate_watermarks_and_dram_speed_change_support() 1167 …>display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total; in dcn6_calculate_watermarks_and_dram_speed_change_support() 1168 …>display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_c… in dcn6_calculate_watermarks_and_dram_speed_change_support() 1180 …>display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total; in dcn6_calculate_watermarks_and_dram_speed_change_support() [all …]
|
| H A D | dml2_core_dcn5_calcs_dchub.c | 311 …ble)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_activ… in dcn5_calculate_swath_width() 319 … k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_activ… in dcn5_calculate_swath_width() 574 …l->TotalBandwidthPerStream[display_cfg->plane_descriptors[k].stream_index] += (unsigned int)(ReadB… in dcn5_calculate_det_buffer_size() 577 …if (l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index] >= DETBufferSiz… in dcn5_calculate_det_buffer_size() 578 …l->RemainingDETBudgetPerStream[display_cfg->plane_descriptors[k].stream_index] -= DETBufferSizeInK… in dcn5_calculate_det_buffer_size() 591 …adBandwidthChroma[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 …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] -= l->DeltaDETBudge… in dcn5_calculate_det_buffer_size() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 1052 int stream_index, plane_index, i; in dml2_map_dc_pipes() local 1090 for (stream_index = 0; stream_index < state->stream_count; stream_index++) { in dml2_map_dc_pipes() 1093 stream_id = state->streams[stream_index]->stream_id; in dml2_map_dc_pipes() 1125 …calculate_odm_slices(state->streams[stream_index], scratch.odm_info.odm_factor, scratch.odm_info.o… in dml2_map_dc_pipes() 1128 if (state->stream_status[stream_index].plane_count == 0) { in dml2_map_dc_pipes() 1129 map_pipes_for_stream(ctx, state, state->streams[stream_index], &scratch, existing_state); in dml2_map_dc_pipes() 1132 …for (plane_index = 0; plane_index < state->stream_status[stream_index].plane_count; plane_index++)… in dml2_map_dc_pipes() 1134 if (get_plane_id(ctx, state, state->stream_status[stream_index].plane_states[plane_index], in dml2_map_dc_pipes() 1146 if (dml2_is_stereo_timing(state->streams[stream_index])) in dml2_map_dc_pipes() 1159 map_pipes_for_plane(ctx, state, state->streams[stream_index], in dml2_map_dc_pipes() [all …]
|
| /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() 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() 457 unsigned int stream_index = 0; mod_power_notify_mode_change() local
|
| 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()
|