Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c55 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
56 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
61 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup()
62 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup()
65 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
66 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup()
68 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
69 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in amdgpu_atombios_crtc_overscan_setup()
203 args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (amdgpu_crtc->v_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing()
205 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()
Datombios_encoders.c298 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) in amdgpu_atombios_encoder_mode_fixup()
299 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; in amdgpu_atombios_encoder_mode_fixup()
302 if (mode->crtc_vsync_start == mode->crtc_vdisplay) in amdgpu_atombios_encoder_mode_fixup()
Damdgpu_display.c833 vbl_start = mode->crtc_vdisplay; in amdgpu_get_crtc_scanoutpos()
Damdgpu_dpm.c131 amdgpu_crtc->hw_mode.crtc_vdisplay + in amdgpu_dpm_get_vblank_time()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmdfld_intel_display.c787 REG_WRITE(map->size, ((min(mode->crtc_vdisplay, adjusted_mode->crtc_vdisplay) - 1) << 16) in mdfld_crtc_mode_set()
791 | (mode->crtc_vdisplay - 1)); in mdfld_crtc_mode_set()
794 ((mode->crtc_vdisplay - 1) << 16) | in mdfld_crtc_mode_set()
798 (mode->crtc_vdisplay - 1)); in mdfld_crtc_mode_set()
816 offsetY = (adjusted_mode->crtc_vdisplay - in mdfld_crtc_mode_set()
817 mode->crtc_vdisplay) / 2; in mdfld_crtc_mode_set()
821 REG_WRITE(map->vtotal, (mode->crtc_vdisplay - 1) | in mdfld_crtc_mode_set()
838 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()
Dpsb_intel_display.c278 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set()
Dcdv_intel_display.c803 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in cdv_intel_crtc_mode_set()
Dpsb_intel_sdvo.c729 height = mode->crtc_vdisplay; in psb_intel_sdvo_get_dtd_from_mode()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_panel.c113 adjusted_mode->crtc_vdisplay == pipe_config->pipe_src_h) in intel_pch_panel_fitting()
121 y = (adjusted_mode->crtc_vdisplay - height + 1)/2; in intel_pch_panel_fitting()
130 * adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
137 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
142 y = (adjusted_mode->crtc_vdisplay - height + 1) / 2; in intel_pch_panel_fitting()
148 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
156 height = adjusted_mode->crtc_vdisplay; in intel_pch_panel_fitting()
203 border = (adjusted_mode->crtc_vdisplay - height + 1) / 2; in centre_vertically()
205 adjusted_mode->crtc_vdisplay = height; in centre_vertically()
233 adjusted_mode->crtc_vdisplay; in i965_scale_aspect()
[all …]
Ddvo_ivch.c418 mode->vdisplay != adjusted_mode->crtc_vdisplay) { in ivch_mode_set()
426 (adjusted_mode->crtc_vdisplay - 1)) >> 2; in ivch_mode_set()
Dintel_fbdev.c605 cur_size = intel_crtc->config->base.adjusted_mode.crtc_vdisplay; in intel_fbdev_init_bios()
613 intel_crtc->config->base.adjusted_mode.crtc_vdisplay, in intel_fbdev_init_bios()
Dintel_dsi.c795 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
818 adjusted_mode->crtc_vdisplay); in set_dsi_timings()
903 adjusted_mode->crtc_vdisplay << VERTICAL_ADDRESS_SHIFT | in intel_dsi_prepare()
Dintel_dvo.c292 (adjusted_mode->crtc_vdisplay << DVO_SRCDIM_VERTICAL_SHIFT)); in intel_dvo_pre_enable()
Ddvo_ns2501.c583 adjusted_mode->crtc_vdisplay, in ns2501_mode_set()
Dintel_display.c4452 adjusted_mode->crtc_hdisplay, adjusted_mode->crtc_vdisplay); in skl_update_scaler_crtc()
7739 (adjusted_mode->crtc_vdisplay - 1) | in intel_set_pipe_timings()
7783 pipe_config->base.adjusted_mode.crtc_vdisplay = (tmp & 0xffff) + 1; in intel_get_pipe_timings()
7814 mode->vdisplay = pipe_config->base.adjusted_mode.crtc_vdisplay; in intel_mode_from_pipe_config()
11992 mode->crtc_vdisplay, mode->crtc_vsync_start, in intel_dump_crtc_timings()
12551 PIPE_CONF_CHECK_I(base.adjusted_mode.crtc_vdisplay); in intel_pipe_config_compare()
/linux-4.4.14/drivers/gpu/drm/radeon/
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()
Datombios_crtc.c51 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup()
52 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup()
57 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in atombios_overscan_setup()
58 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in atombios_overscan_setup()
61 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in atombios_overscan_setup()
62 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in atombios_overscan_setup()
64 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in atombios_overscan_setup()
65 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in atombios_overscan_setup()
311 args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (radeon_crtc->v_border * 2)); in atombios_set_crtc_dtd_timing()
313 cpu_to_le16(mode->crtc_vblank_end - mode->crtc_vdisplay + (radeon_crtc->v_border * 2)); in atombios_set_crtc_dtd_timing()
[all …]
Dradeon_legacy_crtc.c95 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_legacy_rmx_mode_set()
177 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_legacy_rmx_mode_set()
638 | ((mode->crtc_vdisplay - 1) << 16)); in radeon_set_crtc_timing()
Datombios_encoders.c310 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) in radeon_atom_mode_fixup()
311 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; in radeon_atom_mode_fixup()
314 if (mode->crtc_vsync_start == mode->crtc_vdisplay) in radeon_atom_mode_fixup()
Dradeon_display.c330 ((vpos >= (99 * rdev->mode_info.crtcs[crtc_id]->base.hwmode.crtc_vdisplay)/100) || in radeon_crtc_handle_vblank()
1971 vbl_start = mode->crtc_vdisplay; in radeon_get_crtc_scanoutpos()
Dr600_dpm.c169 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time()
Dradeon_atombios.c1825 mode->crtc_vdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Disp); in radeon_atom_get_tv_timings()
1868 mode->crtc_vdisplay = le16_to_cpu(dtd_timings->usVActive); in radeon_atom_get_tv_timings()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modes.c796 p->crtc_vdisplay = p->vdisplay; in drm_mode_set_crtcinfo()
803 p->crtc_vdisplay /= 2; in drm_mode_set_crtcinfo()
812 p->crtc_vdisplay *= 2; in drm_mode_set_crtcinfo()
821 p->crtc_vdisplay *= p->vscan; in drm_mode_set_crtcinfo()
834 p->crtc_vdisplay += p->crtc_vtotal; in drm_mode_set_crtcinfo()
842 p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay); in drm_mode_set_crtcinfo()
Ddrm_irq.c715 mode->crtc_vtotal, mode->crtc_vdisplay); in drm_calc_timestamping_constants()
Ddrm_crtc.c2572 *vdisplay = adjusted.crtc_vdisplay; in drm_crtc_get_hv_timing()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_mode.c116 if (crtc->mode.crtc_vdisplay == 800) in ast_get_vbios_mode_info()
128 if (crtc->mode.crtc_vdisplay == 900) in ast_get_vbios_mode_info()
137 if (crtc->mode.crtc_vdisplay == 1080) in ast_get_vbios_mode_info()
215 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x96, adjusted_mode->crtc_vdisplay); in ast_get_vbios_mode_info()
216 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x97, adjusted_mode->crtc_vdisplay >> 8); in ast_get_vbios_mode_info()
339 temp = mode->crtc_vdisplay - 1; in ast_set_crtc_reg()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_vid.c54 int dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_vid_commit()
Dsti_cursor.c126 int dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_cursor_atomic_update()
Dsti_gdp.c417 dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_gdp_atomic_update()
Dsti_hqvdp.c791 int dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_hqvdp_atomic_update()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c68 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; in atmel_hlcdc_crtc_mode_set_nofb()
86 ((adj->crtc_vdisplay - 1) << 16)); in atmel_hlcdc_crtc_mode_set_nofb()
/linux-4.4.14/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-4.4.14/include/drm/
Ddrm_modes.h136 int crtc_vdisplay; member
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c252 int vertDisplay = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_vga()
256 int vertBlankStart = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_vga()
557 regp->crtc_830 = mode->crtc_vdisplay - 3; in nv_crtc_mode_set_regs()
558 regp->crtc_834 = mode->crtc_vdisplay - 1; in nv_crtc_mode_set_regs()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c135 m->crtc_vsync_start = m->crtc_vdisplay + 1; in decon_commit()
161 m->crtc_vsync_start - m->crtc_vdisplay - 1); in decon_commit()
Dexynos7_drm_decon.c185 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in decon_commit()
Dexynos_drm_fimd.c425 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in fimd_commit()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_crtc.c553 bm = adj->crtc_vsync_start - adj->crtc_vdisplay; in armada_drm_crtc_mode_set()
562 adj->crtc_vdisplay, in armada_drm_crtc_mode_set()
623 val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay; in armada_drm_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c168 mode->crtc_vdisplay - 2); in rcar_du_crtc_set_display_timing()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dadv7511.c676 adj_mode->crtc_vdisplay; in adv7511_encoder_mode_set()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1643 mode->crtc_vdisplay > 2048 || mode->crtc_vsync_start > 4096 || in mga_vga_mode_valid()