| /linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
| D | atombios_crtc.c | 55 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 …]
|
| D | amdgpu_encoders.c | 176 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()
|
| D | atombios_encoders.c | 298 && (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()
|
| D | amdgpu_display.c | 833 vbl_start = mode->crtc_vdisplay; in amdgpu_get_crtc_scanoutpos()
|
| D | amdgpu_dpm.c | 131 amdgpu_crtc->hw_mode.crtc_vdisplay + in amdgpu_dpm_get_vblank_time()
|
| /linux-4.4.14/drivers/gpu/drm/gma500/ |
| D | mdfld_intel_display.c | 787 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()
|
| D | oaktrail_crtc.c | 431 (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()
|
| D | oaktrail_lvds.c | 143 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()
|
| D | oaktrail_hdmi.c | 329 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()
|
| D | psb_intel_display.c | 278 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set()
|
| D | cdv_intel_display.c | 803 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in cdv_intel_crtc_mode_set()
|
| D | psb_intel_sdvo.c | 729 height = mode->crtc_vdisplay; in psb_intel_sdvo_get_dtd_from_mode()
|
| /linux-4.4.14/drivers/gpu/drm/i915/ |
| D | intel_panel.c | 113 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 …]
|
| D | dvo_ivch.c | 418 mode->vdisplay != adjusted_mode->crtc_vdisplay) { in ivch_mode_set() 426 (adjusted_mode->crtc_vdisplay - 1)) >> 2; in ivch_mode_set()
|
| D | intel_fbdev.c | 605 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()
|
| D | intel_dsi.c | 795 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()
|
| D | intel_dvo.c | 292 (adjusted_mode->crtc_vdisplay << DVO_SRCDIM_VERTICAL_SHIFT)); in intel_dvo_pre_enable()
|
| D | dvo_ns2501.c | 583 adjusted_mode->crtc_vdisplay, in ns2501_mode_set()
|
| D | intel_display.c | 4452 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/ |
| D | radeon_encoders.c | 353 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()
|
| D | atombios_crtc.c | 51 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 …]
|
| D | radeon_legacy_crtc.c | 95 | ((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()
|
| D | atombios_encoders.c | 310 && (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()
|
| D | radeon_display.c | 330 ((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()
|
| D | r600_dpm.c | 169 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time()
|
| D | radeon_atombios.c | 1825 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/ |
| D | drm_modes.c | 796 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()
|
| D | drm_irq.c | 715 mode->crtc_vtotal, mode->crtc_vdisplay); in drm_calc_timestamping_constants()
|
| D | drm_crtc.c | 2572 *vdisplay = adjusted.crtc_vdisplay; in drm_crtc_get_hv_timing()
|
| /linux-4.4.14/drivers/gpu/drm/ast/ |
| D | ast_mode.c | 116 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/ |
| D | sti_vid.c | 54 int dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_vid_commit()
|
| D | sti_cursor.c | 126 int dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_cursor_atomic_update()
|
| D | sti_gdp.c | 417 dst_h = clamp_val(state->crtc_h, 0, mode->crtc_vdisplay - dst_y); in sti_gdp_atomic_update()
|
| D | sti_hqvdp.c | 791 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/ |
| D | atmel_hlcdc_crtc.c | 68 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/ |
| D | udl_modeset.c | 180 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/ |
| D | drm_modes.h | 136 int crtc_vdisplay; member
|
| /linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
| D | crtc.c | 252 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/ |
| D | exynos5433_drm_decon.c | 135 m->crtc_vsync_start = m->crtc_vdisplay + 1; in decon_commit() 161 m->crtc_vsync_start - m->crtc_vdisplay - 1); in decon_commit()
|
| D | exynos7_drm_decon.c | 185 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in decon_commit()
|
| D | exynos_drm_fimd.c | 425 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in fimd_commit()
|
| /linux-4.4.14/drivers/gpu/drm/armada/ |
| D | armada_crtc.c | 553 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/ |
| D | rcar_du_crtc.c | 168 mode->crtc_vdisplay - 2); in rcar_du_crtc_set_display_timing()
|
| /linux-4.4.14/drivers/gpu/drm/i2c/ |
| D | adv7511.c | 676 adj_mode->crtc_vdisplay; in adv7511_encoder_mode_set()
|
| /linux-4.4.14/drivers/gpu/drm/mgag200/ |
| D | mgag200_mode.c | 1643 mode->crtc_vdisplay > 2048 || mode->crtc_vsync_start > 4096 || in mga_vga_mode_valid()
|