Home
last modified time | relevance | path

Searched refs:v_total (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/gpu/ipu-v3/
H A Dipu-di.c207 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_interlaced() local
212 .run_count = v_total * 2 - 1, in ipu_di_sync_config_interlaced()
223 .run_count = v_total - 1, in ipu_di_sync_config_interlaced()
231 .run_count = v_total / 2, in ipu_di_sync_config_interlaced()
262 ipu_di_write(di, v_total / 2 - 1, DI_SCR_CONF); in ipu_di_sync_config_interlaced()
270 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_noninterlaced() local
288 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
323 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
352 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
370 .run_count = v_total in ipu_di_sync_config_noninterlaced()
[all...]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_legacy_tv.c428 unsigned int h_total, v_total, f_total; in radeon_legacy_tv_init_restarts() local
439 v_total = const_ptr->ver_total; in radeon_legacy_tv_init_restarts()
485 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
487 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
496 tv_dac->tv.vrestart = restart % v_total; in radeon_legacy_tv_init_restarts()
497 restart /= v_total; in radeon_legacy_tv_init_restarts()
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn201/
H A Ddcn201_optc.c79 v_blank = (timing->v_total - timing->v_addressable - in optc201_validate_timing()
100 timing->v_total > optc1->max_v_total) in optc201_validate_timing()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_utils.c580 phantom->timing.v_total = meta->v_total; in create_phantom_stream_from_main_stream()
583 …phantom->timing.v_blank_end = phantom->timing.v_total - phantom->timing.v_front_porch - phantom->t… in create_phantom_stream_from_main_stream()
584 phantom->timing.vblank_nom = phantom->timing.v_total - phantom->timing.v_active; in create_phantom_stream_from_main_stream()
H A Ddml2_core_dcn5_funcs_mode_programming.c659 myPipe->VBlank = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active; in dcn5_mode_programming()
1286 s->dlg_vblank_start = ((isInterlaceTiming ? math_floor2((display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch) / 2.0, 1.0) : in dcn5_mode_programming()
1287 display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total) - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch); in dcn5_mode_programming()
1289 s->blank_lines_remaining = (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active) - mode_lib->mp.VStartup[k]; in dcn5_mode_programming()
1301 math_floor2((display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch - mode_lib->mp.VStartup[k]) / 2.0, 1.0) : in dcn5_mode_programming()
1302 (int)(display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch - mode_lib->mp.VStartup[k]))) { in dcn5_mode_programming()
1313 DML_LOG_VERBOSE("DML::%s: k=%u, VTotal = %lu\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total); in dcn5_mode_programming()
1486 base_programming->vtotal = (uint16_t)stream_descriptor->timing.v_total; in dcn5_populate_fams2_programming()
H A Ddml2_core_dcn6_calcs_dchub.c23 unsigned int vblank_actual = timing->v_total - timing->v_active; in dcn6_calculate_max_vstartup()
144 unsigned long vtotal = p->display_cfg->stream_descriptors[stream_idx].timing.v_total; in compute_pre_rec_first_hdl()
324 vtotal = p->display_cfg->stream_descriptors[i].timing.v_total; in calculate_alt_copy_time_us()
1530 l->FrameTimeCriticalSurface = (isInterlaceTiming ? math_floor2((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total / 2.0, 1.0) : p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) * (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000); in dcn6_calculate_stutter_efficiency()
1596 SingleVTotal = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total; in dcn6_calculate_stutter_efficiency()
1599 SingleVTotal != p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) { in dcn6_calculate_stutter_efficiency()
H A Ddml2_core_dcn5_calcs_dchub.c1954 unsigned int vblank_actual = timing->v_total - timing->v_active; in dcn5_calculate_max_vstartup()
4530 if (pstate_keepout_dst_lines[i] > stream_descriptor->timing.v_total - 1) { in dcn5_calculate_pstate_keepout_dst_lines()
4531 pstate_keepout_dst_lines[i] = stream_descriptor->timing.v_total - 1;
5087 l->FrameTimeCriticalSurface = (isInterlaceTiming ? math_floor2((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total / 2.0, 1.0) : p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) * (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000); in dcn5_calculate_stutter_efficiency()
5153 SingleVTotal = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total; in dcn5_calculate_stutter_efficiency()
5156 SingleVTotal != p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) { in dcn5_calculate_stutter_efficiency()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_test.c855 stream0->timing.v_total = 1125; in dm_test_cp_diff_reenable_mode_changed()
860 stream1->timing.v_total = 1125; in dm_test_cp_diff_reenable_mode_changed()
1168 stream0->timing.v_total = 1125;
1172 stream1->timing.v_total = 1125;
1210 stream->timing.v_total = 1125;
4226 timing->v_total = 1125;
4262 ctx->acrtc_state->stream->timing.v_total = 0;
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_stream_encoder.c289 hw_crtc_timing.v_total /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
466 DP_MSA_VTOTAL, hw_crtc_timing.v_total); in dce110_stream_encoder_dp_set_stream_attribute()
482 v_active_start = hw_crtc_timing.v_total - hw_crtc_timing.v_border_top - in dce110_stream_encoder_dp_set_stream_attribute()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c814 psr_context->crtcTimingVerticalTotal = stream->timing.v_total; in edp_setup_psr()
817 stream->timing.v_total), in edp_setup_psr()
840 psr_context->hyst_lines = stream->timing.v_total / 2 / 100; in edp_setup_psr()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c664 stream1->timing.v_total > 60) in resource_are_vblanks_synchronizable()
667 stream2->timing.v_total > 60) in resource_are_vblanks_synchronizable()
671 stream1->timing.v_total * in resource_are_vblanks_synchronizable()
675 frame_time_diff = div_u64(frame_time_diff, stream2->timing.v_total); in resource_are_vblanks_synchronizable()
695 if (stream1->timing.v_total != stream2->timing.v_total) in resource_are_streams_timing_synchronizable()
5241 hdmi_info.bits.bar_bottom = (uint16_t)(stream->timing.v_total in set_vtem_info_packet()
5350 asic_blank_start = tg->v_total - tg->v_front_porch;
5357 v_update = (tg->v_total - (vstartup_start - asic_blank_end)); in pipe_need_reprogram()
5359 sdp_line_num->adaptive_sync_line_num = (tg->v_total in pipe_need_reprogram()
[all...]
H A Ddc.c2000 if (crtc_timing->v_total != hw_crtc_timing.v_total) { in dc_validate_boot_timing()
2001 DC_LOG_DEBUG("boot timing validation failed due to v_total mismatch\n"); in dc_validate_boot_timing()
2487 context->streams[i]->timing.v_total, in dc_commit_state_no_check()
7895 state->optc[i].otg_v_total = timing->v_total; in dc_capture_register_software_state()
7897 state->optc[i].otg_v_blank_end = timing->v_total - timing->v_front_porch; in dc_capture_register_software_state()
7905 state->optc[i].otg_v_total_max = timing->v_total + 100; /* Typical DRR range */ in dc_capture_register_software_state()
7906 state->optc[i].otg_v_total_min = timing->v_total - 50; in dc_capture_register_software_state()
7907 state->optc[i].otg_v_total_mid = timing->v_total; in dc_capture_register_software_state()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Ddce_calcs.h389 struct bw_fixed v_total[maximum_number_of_surfaces]; member
/linux/drivers/video/fbdev/
H A Dsmscufx.c663 u16 v_total, v_active, v_blank_start, v_blank_end, v_sync_start, v_sync_end; in ufx_set_vid_mode() local
709 v_total = var->upper_margin + var->yres + var->lower_margin + var->vsync_len; in ufx_set_vid_mode()
716 temp = ((v_total - 1) << 16) | (v_active - 1); in ufx_set_vid_mode()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c1039 unsigned int v_total = stream->adjust.v_total_max ? in dcn30_apply_idle_power_optimizations()
1040 stream->adjust.v_total_max : stream->timing.v_total; in dcn30_apply_idle_power_optimizations()
1042 100LL, (v_total * stream->timing.h_total)); in dcn30_apply_idle_power_optimizations()
1038 unsigned int v_total = stream->adjust.v_total_max ? dcn30_apply_idle_power_optimizations() local
/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c1001 u32 v_total = mode->vtotal; in dsi_timing_setup() local
1006 u32 va_start = v_total - mode->vsync_start; in dsi_timing_setup()
1096 DSI_TOTAL_V_TOTAL(v_total - 1)); in dsi_timing_setup()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_translation_helper.c
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_abm.c970 unsigned int v_total = in set_backlight() local
971 (stream->adjust.v_total_max == 0) ? stream->timing.v_total : stream->adjust.v_total_max; in set_backlight()
975 v_total), in set_backlight()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c2059 h_v_total = timing->h_total * timing->v_total; in get_refresh_rate()
2097 curr_v_blank = timing->v_total - timing->v_addressable; in get_frame_rate_at_max_stretch_100hz()
2099 stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total; in get_frame_rate_at_max_stretch_100hz()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/
H A Ddcn60_clk_mgr.c1123 curr_pipe_ctx->stream->timing.v_total in dcn60_make_bandwidth_clocks_update_action()
1125 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn60_make_bandwidth_clocks_update_action()
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dcalcs_logger.h421 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] v_total[%d]:%d", i, bw_fixed_to_int(data->v_total[i])); in print_bw_calcs_data()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c213 (stream->timing.h_total*stream->timing.v_total)); in dcn60_apply_single_controller_ctx_to_hw()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_connector.c957 timing_out->v_total = mode_in->vtotal; in fill_stream_properties_from_drm_display_mode()
967 timing_out->v_total = mode_in->crtc_vtotal; in fill_stream_properties_from_drm_display_mode()
H A Damdgpu_dm.c3442 timing->v_total * in dm_update_pflip_irq_state()
5227 (stream_set[j]->timing.h_total*stream_set[j]->timing.v_total); in amdgpu_dm_atomic_commit_tail()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn6_stage_optimizers.c1147 …if (svp0_dst_lines + svp1_dst_lines >= display_cfg->stream_descriptors[stream_idx].timing.v_total … in dcn6_alternate_permissible()

12