Home
last modified time | relevance | path

Searched refs:crtc_vtotal (Results 1 – 25 of 54) sorted by relevance

123

/drivers/gpu/drm/i915/display/
A Dintel_vrr.c198 pixel_clock_per_line * FIXED_POINT_PRECISION / adjusted_mode->crtc_vtotal; in is_cmrr_frac_required()
261 int crtc_vtotal = crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_fixed_rr_vtotal() local
264 return crtc_vtotal; in intel_vrr_fixed_rr_vtotal()
266 return crtc_vtotal - in intel_vrr_fixed_rr_vtotal()
314 crtc_state->vrr.vmax = crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_compute_fixed_rr_timings()
315 crtc_state->vrr.flipline = crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_compute_fixed_rr_timings()
328 return crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_compute_vmin()
340 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_vmax()
408 (crtc_state->hw.adjusted_mode.crtc_vtotal - in intel_vrr_compute_config()
411 (crtc_state->hw.adjusted_mode.crtc_vtotal - in intel_vrr_compute_config()
[all …]
A Dintel_vblank.c185 u32 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline_from_timestamp()
524 mode->crtc_vtotal = intel_vrr_vmax_vtotal(crtc_state); in intel_crtc_active_timings()
606 int vtotal = mode->crtc_vtotal; in intel_mode_vtotal()
A Dvlv_dsi.c1056 adjusted_mode->crtc_vtotal = in bxt_dsi_get_pipe_config()
1096 vfp + vsync + vbp != adjusted_mode->crtc_vtotal); in bxt_dsi_get_pipe_config()
1100 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config()
1242 vbp = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_end; in set_dsi_timings()
1265 adjusted_mode->crtc_vtotal - 1); in set_dsi_timings()
1408 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
A Dintel_alpm.c322 guardband = adjusted_mode->crtc_vtotal - in intel_alpm_lobf_compute_config()
324 first_sdp_position = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_start; in intel_alpm_lobf_compute_config()
A Dintel_display.c2650 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings()
2656 crtc_vtotal -= 1; in intel_set_transcoder_timings()
2706 crtc_vtotal = 1; in intel_set_transcoder_timings()
2710 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings()
2726 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings()
2752 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings_lrr()
2758 crtc_vtotal -= 1; in intel_set_transcoder_timings_lrr()
2788 crtc_vtotal = 1; in intel_set_transcoder_timings_lrr()
2796 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings_lrr()
2874 adjusted_mode->crtc_vtotal += 1; in intel_get_transcoder_timings()
[all …]
/drivers/gpu/drm/sun4i/
A Dsun4i_tcon.c405 start_delay = (mode->crtc_vtotal - mode->crtc_vdisplay - 10 - 1); in sun4i_tcon0_mode_set_cpu()
470 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_lvds()
472 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_lvds()
476 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_lvds()
552 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb()
554 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_rgb()
558 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_rgb()
648 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon1_mode_set()
650 mode->crtc_vtotal, bp); in sun4i_tcon1_mode_set()
/drivers/gpu/drm/vc4/
A Dvc4_vec.c690 if (mode->crtc_vtotal > 262) in vc4_vec_encoder_atomic_check()
702 if ((mode->crtc_vtotal - mode->crtc_vsync_end) < 4) in vc4_vec_encoder_atomic_check()
709 if (mode->crtc_vtotal > 312) in vc4_vec_encoder_atomic_check()
721 if ((mode->crtc_vtotal - mode->crtc_vsync_end) < 2) in vc4_vec_encoder_atomic_check()
/drivers/gpu/drm/
A Ddrm_modes.c1362 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo()
1369 p->crtc_vtotal /= 2; in drm_mode_set_crtcinfo()
1378 p->crtc_vtotal *= 2; in drm_mode_set_crtcinfo()
1387 p->crtc_vtotal *= p->vscan; in drm_mode_set_crtcinfo()
1397 p->crtc_vdisplay += p->crtc_vtotal; in drm_mode_set_crtcinfo()
1398 p->crtc_vsync_start += p->crtc_vtotal; in drm_mode_set_crtcinfo()
1399 p->crtc_vsync_end += p->crtc_vtotal; in drm_mode_set_crtcinfo()
1400 p->crtc_vtotal += p->crtc_vtotal; in drm_mode_set_crtcinfo()
1406 p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); in drm_mode_set_crtcinfo()
A Ddrm_vblank.c629 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
656 mode->crtc_vtotal, mode->crtc_vdisplay); in drm_calc_timestamping_constants()
1018 mode->crtc_vtotal); in drm_crtc_next_vblank_start()
/drivers/gpu/drm/imx/dc/
A Ddc-fg.c154 vtotal = m->crtc_vtotal; in dc_fg_cfg_videomode()
156 vsbp = m->crtc_vtotal - m->crtc_vsync_start; in dc_fg_cfg_videomode()
/drivers/gpu/drm/loongson/
A Dlsdc_crtc.c227 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay); in lsdc_crtc0_set_mode()
245 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay); in lsdc_crtc1_set_mode()
912 vbp = mode->crtc_vtotal - mode->crtc_vsync_end; in lsdc_crtc_get_scanout_position()
918 vfp_end = mode->crtc_vtotal; in lsdc_crtc_get_scanout_position()
/drivers/gpu/drm/renesas/rcar-du/
A Drcar_du_crtc.c315 rcar_du_crtc_write(rcrtc, VDSR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
317 rcar_du_crtc_write(rcrtc, VDER, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
320 rcar_du_crtc_write(rcrtc, VSPR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
323 rcar_du_crtc_write(rcrtc, VCR, mode->crtc_vtotal - 1); in rcar_du_crtc_set_display_timing()
/drivers/gpu/drm/udl/
A Dudl_modeset.c153 u16 reg05 = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_display_mode()
159 u16 reg11 = mode->crtc_vtotal; in udl_set_display_mode()
/drivers/gpu/drm/mxsfb/
A Dmxsfb_kms.c134 writel(m->crtc_vtotal, mxsfb->base + LCDC_VDCTRL1); in mxsfb_set_mode()
143 SET_VERT_WAIT_CNT(m->crtc_vtotal - m->crtc_vsync_start), in mxsfb_set_mode()
/drivers/gpu/drm/gma500/
A Doaktrail_crtc.c449 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
468 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
A Doaktrail_hdmi.c333 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
341 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_encoders.c199 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
/drivers/gpu/drm/mgag200/
A Dmgag200_mode.c211 vtotal = mode->crtc_vtotal - 2; in mgag200_set_mode_regs()
579 mode->crtc_vsync_end > 4096 || mode->crtc_vtotal > 4096) { in mgag200_crtc_helper_mode_valid()
/drivers/gpu/drm/kmb/
A Dkmb_crtc.c82 m->crtc_vtotal - m->crtc_vsync_end, in kmb_crtc_set_mode()
/drivers/gpu/drm/arm/
A Dhdlcd_crtc.c142 vm.vback_porch = m->crtc_vtotal - m->crtc_vsync_end; in hdlcd_crtc_mode_set_nofb()
/drivers/gpu/drm/radeon/
A Dradeon_legacy_crtc.c98 fp_crtc_v_total_disp = (((mode->crtc_vtotal - 1) & 0xffff) in radeon_legacy_rmx_mode_set()
637 crtc_v_total_disp = (((mode->crtc_vtotal - 1) & 0xffff) in radeon_set_crtc_timing()
A Dradeon_encoders.c361 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
/drivers/gpu/drm/bridge/cadence/
A Dcdns-mhdp8546-core.c1811 msa_v0 = mode->crtc_vtotal - mode->crtc_vsync_start; in cdns_mhdp_configure_video()
1813 CDNS_DP_MSAV0_V_TOTAL(mode->crtc_vtotal) | in cdns_mhdp_configure_video()
1825 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
1844 dp_vertical_1 = CDNS_DP_V1_VTOTAL(mode->crtc_vtotal); in cdns_mhdp_configure_video()
1846 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
/drivers/gpu/drm/tiny/
A Darcpgu.c162 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_mode_set()
/drivers/gpu/drm/ast/
A Dast_mode.c299 temp = (mode->crtc_vtotal) - 2; in ast_set_crtc_reg()
806 adjusted_mode->crtc_vtotal = vmode->vt; in ast_crtc_helper_atomic_check()

Completed in 104 milliseconds

123