Home
last modified time | relevance | path

Searched refs:crtc_vsync_start (Results 1 – 25 of 51) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c101 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_legacy_rmx_mode_set()
105 fp_v_sync_strt_wid = (((mode->crtc_vsync_start - 1) & 0xfff) in radeon_legacy_rmx_mode_set()
183 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_legacy_rmx_mode_set()
187 fp_v_sync_strt_wid = ((((mode->crtc_vsync_start - mode->crtc_vblank_start) & 0xfff) in radeon_legacy_rmx_mode_set()
640 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_set_crtc_timing()
644 crtc_v_sync_strt_wid = (((mode->crtc_vsync_start - 1) & 0xfff) in radeon_set_crtc_timing()
H A Dradeon_encoders.c361 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in radeon_panel_mode_fixup()
362 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + vsync_width; in radeon_panel_mode_fixup()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_vec.c668 if (!(mode->crtc_vsync_start - mode->crtc_vdisplay)) in vc4_vec_encoder_atomic_check()
671 if ((mode->crtc_vsync_end - mode->crtc_vsync_start) != 3) in vc4_vec_encoder_atomic_check()
687 if (!(mode->crtc_vsync_start - mode->crtc_vdisplay)) in vc4_vec_encoder_atomic_check()
690 if ((mode->crtc_vsync_end - mode->crtc_vsync_start) != 3) in vc4_vec_encoder_atomic_check()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c200 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in amdgpu_panel_mode_fixup()
201 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + vsync_width; in amdgpu_panel_mode_fixup()
H A Datombios_crtc.c211 cpu_to_le16(mode->crtc_vsync_start - mode->crtc_vdisplay + amdgpu_crtc->v_border); in amdgpu_atombios_crtc_set_dtd_timing()
213 cpu_to_le16(mode->crtc_vsync_end - mode->crtc_vsync_start); in amdgpu_atombios_crtc_set_dtd_timing()
H A Datombios_encoders.c290 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) in amdgpu_atombios_encoder_mode_fixup()
291 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; in amdgpu_atombios_encoder_mode_fixup()
294 if (mode->crtc_vsync_start == mode->crtc_vdisplay) in amdgpu_atombios_encoder_mode_fixup()
295 adjusted_mode->crtc_vsync_start++; in amdgpu_atombios_encoder_mode_fixup()
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_crtc.c81 m->crtc_vsync_start - m->crtc_vdisplay, in kmb_crtc_set_mode()
83 m->crtc_vsync_end - m->crtc_vsync_start, in kmb_crtc_set_mode()
/openbmc/linux/drivers/gpu/drm/arm/
H A Dhdlcd_crtc.c134 vm.vfront_porch = m->crtc_vsync_start - m->crtc_vdisplay; in hdlcd_crtc_mode_set_nofb()
136 vm.vsync_len = m->crtc_vsync_end - m->crtc_vsync_start; in hdlcd_crtc_mode_set_nofb()
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos5433_drm_decon.c206 m->crtc_vsync_start = m->crtc_vdisplay + 1; in decon_commit()
207 m->crtc_vsync_end = m->crtc_vsync_start + 1; in decon_commit()
236 int vfp = m->crtc_vsync_start - m->crtc_vdisplay; in decon_commit()
244 m->crtc_vsync_end - m->crtc_vsync_start - 1); in decon_commit()
H A Dexynos7_drm_decon.c168 vsync_len = mode->crtc_vsync_end - mode->crtc_vsync_start; in decon_commit()
170 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in decon_commit()
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c470 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_lvds()
552 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb()
563 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb()
648 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon1_mode_set()
676 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon1_mode_set()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_panel.c494 sync_width = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in centre_vertically()
504 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vblank_start + sync_pos; in centre_vertically()
505 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + sync_width; in centre_vertically()
H A Dvlv_dsi.c1091 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1092 adjusted_mode->crtc_vsync_end = vsync + adjusted_mode->crtc_vsync_start; in bxt_dsi_get_pipe_config()
1235 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
1236 vsync = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in set_dsi_timings()
H A Dintel_crtc_state_dump.c25 mode->crtc_vsync_start, mode->crtc_vsync_end, mode->crtc_vtotal, in intel_dump_crtc_timings()
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c104 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; in atmel_hlcdc_crtc_mode_set_nofb()
106 vm.vsync_len = adj->crtc_vsync_end - adj->crtc_vsync_start; in atmel_hlcdc_crtc_mode_set_nofb()
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c232 (mode->crtc_vsync_end << 16) | mode->crtc_vsync_start | VSYNC_EN); in lsdc_crtc0_set_mode()
250 (mode->crtc_vsync_end << 16) | mode->crtc_vsync_start | VSYNC_EN); in lsdc_crtc1_set_mode()
910 vsw = mode->crtc_vsync_end - mode->crtc_vsync_start; in lsdc_crtc_get_scanout_position()
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_modeset.c153 u16 reg05 = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_display_mode()
161 u16 reg15 = mode->crtc_vsync_end - mode->crtc_vsync_start; in udl_set_display_mode()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modes.c1356 p->crtc_vsync_start = p->vsync_start; in drm_mode_set_crtcinfo()
1363 p->crtc_vsync_start /= 2; in drm_mode_set_crtcinfo()
1372 p->crtc_vsync_start *= 2; in drm_mode_set_crtcinfo()
1381 p->crtc_vsync_start *= p->vscan; in drm_mode_set_crtcinfo()
1394 p->crtc_vsync_start += p->crtc_vtotal; in drm_mode_set_crtcinfo()
1401 p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay); in drm_mode_set_crtcinfo()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c460 (adjusted_mode->crtc_vsync_start - offsetY - 1) | in oaktrail_crtc_mode_set()
475 REG_WRITE_WITH_AUX(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in oaktrail_crtc_mode_set()
H A Doaktrail_hdmi.c335 …REG_WRITE(vsync_reg, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1) … in oaktrail_crtc_hdmi_mode_set()
343 …REG_WRITE(PCH_VSYNC_B, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1… in oaktrail_crtc_hdmi_mode_set()
/openbmc/linux/drivers/gpu/drm/mxsfb/
H A Dmxsfb_kms.c109 vsync_pulse_len = m->crtc_vsync_end - m->crtc_vsync_start; in mxsfb_set_mode()
143 SET_VERT_WAIT_CNT(m->crtc_vtotal - m->crtc_vsync_start), in mxsfb_set_mode()
/openbmc/linux/include/drm/
H A Ddrm_modes.h331 u16 crtc_vsync_start; member
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c304 m->v.synce = mode->crtc_vsync_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode()
305 m->v.blanke = mode->crtc_vblank_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Darcpgu.c167 ENCODE_PGU_XY(m->crtc_vsync_start - m->crtc_vdisplay, in arc_pgu_mode_set()
/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c286 vpe = mode->crtc_vsync_end - mode->crtc_vsync_start; in ingenic_drm_crtc_update_timings()
287 vds = mode->crtc_vtotal - mode->crtc_vsync_start; in ingenic_drm_crtc_update_timings()
289 vt = vde + mode->crtc_vsync_start - mode->crtc_vdisplay; in ingenic_drm_crtc_update_timings()

123