Home
last modified time | relevance | path

Searched refs:crtc_vdisplay (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c56 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
57 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
62 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup()
63 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup()
66 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
67 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup()
69 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
70 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in amdgpu_atombios_crtc_overscan_setup()
204 args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (amdgpu_crtc->v_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing()
206 cpu_to_le16(mode->crtc_vblank_end - mode->crtc_vdisplay + (amdgpu_crtc->v_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing()
[all …]
Damdgpu_encoders.c176 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup()
182 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
183 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in amdgpu_panel_mode_fixup()
/Linux-v4.19/drivers/gpu/drm/gma500/
Dmdfld_intel_display.c783 REG_WRITE(map->size, ((min(mode->crtc_vdisplay, adjusted_mode->crtc_vdisplay) - 1) << 16) in mdfld_crtc_mode_set()
787 | (mode->crtc_vdisplay - 1)); in mdfld_crtc_mode_set()
790 ((mode->crtc_vdisplay - 1) << 16) | in mdfld_crtc_mode_set()
794 (mode->crtc_vdisplay - 1)); in mdfld_crtc_mode_set()
812 offsetY = (adjusted_mode->crtc_vdisplay - in mdfld_crtc_mode_set()
813 mode->crtc_vdisplay) / 2; in mdfld_crtc_mode_set()
817 REG_WRITE(map->vtotal, (mode->crtc_vdisplay - 1) | in mdfld_crtc_mode_set()
834 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in mdfld_crtc_mode_set()
Doaktrail_crtc.c431 (mode->crtc_vdisplay - 1), i); in oaktrail_crtc_mode_set()
446 offsetY = (adjusted_mode->crtc_vdisplay - in oaktrail_crtc_mode_set()
447 mode->crtc_vdisplay) / 2; in oaktrail_crtc_mode_set()
452 REG_WRITE_WITH_AUX(map->vtotal, (mode->crtc_vdisplay - 1) | in oaktrail_crtc_mode_set()
471 REG_WRITE_WITH_AUX(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in oaktrail_crtc_mode_set()
Doaktrail_lvds.c143 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set()
146 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
150 adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
Doaktrail_hdmi.c329 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
332 REG_WRITE(pipesrc_reg, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set()
337 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
340 REG_WRITE(PCH_PIPEBSRC, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_panel.c113 adjusted_mode->crtc_vdisplay == pipe_config->pipe_src_h && in intel_pch_panel_fitting()
122 y = (adjusted_mode->crtc_vdisplay - height + 1)/2; in intel_pch_panel_fitting()
131 * adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
138 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
143 y = (adjusted_mode->crtc_vdisplay - height + 1) / 2; in intel_pch_panel_fitting()
149 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
157 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
204 border = (adjusted_mode->crtc_vdisplay - height + 1) / 2; in centre_vertically()
206 adjusted_mode->crtc_vdisplay = height; in centre_vertically()
234 adjusted_mode->crtc_vdisplay; in i965_scale_aspect()
[all …]
Dintel_psr.c433 int crtc_vdisplay = crtc_state->base.adjusted_mode.crtc_vdisplay; in intel_psr2_config_valid() local
452 if (crtc_hdisplay > psr_max_h || crtc_vdisplay > psr_max_v) { in intel_psr2_config_valid()
454 crtc_hdisplay, crtc_vdisplay, in intel_psr2_config_valid()
512 adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) { in intel_psr_compute_config()
Ddvo_ivch.c418 mode->vdisplay != adjusted_mode->crtc_vdisplay) { in ivch_mode_set()
426 (adjusted_mode->crtc_vdisplay - 1)) >> 2; in ivch_mode_set()
Dvlv_dsi.c1133 adjusted_mode->crtc_vdisplay = in bxt_dsi_get_pipe_config()
1173 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1175 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1340 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
1363 adjusted_mode->crtc_vdisplay); in set_dsi_timings()
1457 adjusted_mode->crtc_vdisplay << VERTICAL_ADDRESS_SHIFT | in intel_dsi_prepare()
/Linux-v4.19/drivers/gpu/drm/radeon/
Datombios_crtc.c52 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup()
53 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup()
58 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in atombios_overscan_setup()
59 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in atombios_overscan_setup()
62 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in atombios_overscan_setup()
63 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in atombios_overscan_setup()
65 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in atombios_overscan_setup()
66 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in atombios_overscan_setup()
314 args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (radeon_crtc->v_border * 2)); in atombios_set_crtc_dtd_timing()
316 cpu_to_le16(mode->crtc_vblank_end - mode->crtc_vdisplay + (radeon_crtc->v_border * 2)); in atombios_set_crtc_dtd_timing()
[all …]
Dradeon_encoders.c353 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
360 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
361 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in radeon_panel_mode_fixup()
Dradeon_legacy_crtc.c96 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_legacy_rmx_mode_set()
178 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_legacy_rmx_mode_set()
635 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_set_crtc_timing()
/Linux-v4.19/drivers/gpu/drm/arc/
Darcpgu_crtc.c95 ENCODE_PGU_XY(m->crtc_vsync_start - m->crtc_vdisplay, in arc_pgu_crtc_mode_set_nofb()
96 m->crtc_vsync_end - m->crtc_vdisplay)); in arc_pgu_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_modes.c821 *vdisplay = adjusted.crtc_vdisplay; in drm_mode_get_hv_timing()
851 p->crtc_vdisplay = p->vdisplay; in drm_mode_set_crtcinfo()
858 p->crtc_vdisplay /= 2; in drm_mode_set_crtcinfo()
867 p->crtc_vdisplay *= 2; in drm_mode_set_crtcinfo()
876 p->crtc_vdisplay *= p->vscan; in drm_mode_set_crtcinfo()
889 p->crtc_vdisplay += p->crtc_vtotal; in drm_mode_set_crtcinfo()
897 p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay); in drm_mode_set_crtcinfo()
/Linux-v4.19/drivers/gpu/drm/arm/
Dhdlcd_crtc.c133 vm.vfront_porch = m->crtc_vsync_start - m->crtc_vdisplay; in hdlcd_crtc_mode_set_nofb()
151 hdlcd_write(hdlcd, HDLCD_REG_V_DATA, m->crtc_vdisplay - 1); in hdlcd_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c275 SUN4I_TCON0_BASIC0_Y(mode->crtc_vdisplay)); in sun4i_tcon0_mode_set_common()
323 start_delay = (mode->crtc_vtotal - mode->crtc_vdisplay - 10 - 1); in sun4i_tcon0_mode_set_cpu()
520 SUN4I_TCON1_BASIC0_Y(mode->crtc_vdisplay)); in sun4i_tcon1_mode_set()
525 SUN4I_TCON1_BASIC1_Y(mode->crtc_vdisplay)); in sun4i_tcon1_mode_set()
530 SUN4I_TCON1_BASIC2_Y(mode->crtc_vdisplay)); in sun4i_tcon1_mode_set()
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_mode.c120 if (crtc->mode.crtc_vdisplay == 800) in ast_get_vbios_mode_info()
132 if (crtc->mode.crtc_vdisplay == 900) in ast_get_vbios_mode_info()
141 if (crtc->mode.crtc_vdisplay == 1080) in ast_get_vbios_mode_info()
220 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x96, adjusted_mode->crtc_vdisplay); in ast_get_vbios_mode_info()
221 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x97, adjusted_mode->crtc_vdisplay >> 8); in ast_get_vbios_mode_info()
348 temp = mode->crtc_vdisplay - 1; in ast_set_crtc_reg()
/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_modeset.c180 yde = yds + mode->crtc_vdisplay; in udl_set_vid_cmds()
208 wrptr = udl_set_register_16(wrptr, 0x17, mode->crtc_vdisplay); in udl_set_vid_cmds()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dhead.c248 m->v.blanks = m->v.blanke + mode->crtc_vdisplay; in nv50_head_atomic_check_mode()
251 blankus = (m->v.active - mode->crtc_vdisplay - 2) * m->h.active; in nv50_head_atomic_check_mode()
258 m->v.blank2s = m->v.blank2e + mode->crtc_vdisplay; in nv50_head_atomic_check_mode()
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c84 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; in atmel_hlcdc_crtc_mode_set_nofb()
102 ((adj->crtc_vdisplay - 1) << 16)); in atmel_hlcdc_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_crtc.c366 VC4_SET_FIELD(mode->crtc_vsync_start - mode->crtc_vdisplay, in vc4_crtc_config_pv()
368 VC4_SET_FIELD(mode->crtc_vdisplay, PV_VERTB_VACTIVE)); in vc4_crtc_config_pv()
380 mode->crtc_vdisplay, in vc4_crtc_config_pv()
382 VC4_SET_FIELD(mode->crtc_vdisplay, PV_VERTB_VACTIVE)); in vc4_crtc_config_pv()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c246 int vertDisplay = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_vga()
250 int vertBlankStart = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_vga()
552 regp->crtc_830 = mode->crtc_vdisplay - 3; in nv_crtc_mode_set_regs()
553 regp->crtc_834 = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_regs()
/Linux-v4.19/include/drm/
Ddrm_modes.h364 int crtc_vdisplay; member
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_crtc.c269 bm = adj->crtc_vsync_start - adj->crtc_vdisplay; in armada_drm_crtc_mode_set_nofb()
277 adj->crtc_vdisplay, adj->crtc_vsync_start, in armada_drm_crtc_mode_set_nofb()
315 val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay; in armada_drm_crtc_mode_set_nofb()

123