/linux/drivers/gpu/drm/panel/ |
A D | panel-simple.c | 712 .vdisplay = 800, 738 .vdisplay = 272, 762 .vdisplay = 480, 812 .vdisplay = 600, 837 .vdisplay = 768, 888 .vdisplay = 800, 912 .vdisplay = 600, 936 .vdisplay = 800, 990 .vdisplay = 768, 1129 .vdisplay = 600, [all …]
|
A D | panel-edp.c | 919 .vdisplay = 768, 945 .vdisplay = 768, 971 .vdisplay = 1080, 998 .vdisplay = 1080, 1025 .vdisplay = 768, 1047 .vdisplay = 1080, 1075 .vdisplay = 800, 1086 .vdisplay = 800, 1229 .vdisplay = 768, 1366 .vdisplay = 768, [all …]
|
A D | panel-arm-versatile.c | 142 .vdisplay = 240, 165 .vdisplay = 480, 187 .vdisplay = 220, 210 .vdisplay = 320,
|
A D | panel-tpo-tpg110.c | 110 .vdisplay = 480, 126 .vdisplay = 480, 142 .vdisplay = 272, 158 .vdisplay = 640, 174 .vdisplay = 240,
|
/linux/drivers/gpu/drm/ |
A D | drm_modes.c | 197 vdisplay_rnd = vdisplay; in drm_cvt_mode() 204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode() 213 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode() 215 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode() 217 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode() 219 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode() 221 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode() 929 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings() 1299 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; in drm_mode_compare() 1907 out->vdisplay = in->vdisplay; in drm_mode_convert_to_umode() [all …]
|
/linux/drivers/gpu/drm/tve200/ |
A D | tve200_display.c | 81 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */ in tve200_display_check() 82 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */ in tve200_display_check() 83 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */ in tve200_display_check() 84 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */ in tve200_display_check() 85 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */ in tve200_display_check() 87 mode->hdisplay, mode->vdisplay); in tve200_display_check() 170 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ in tve200_display_enable() 171 (mode->hdisplay == 352 && mode->vdisplay == 288)) { /* CIF(625) */ in tve200_display_enable() 174 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) { in tve200_display_enable() 177 } else if ((mode->hdisplay == 720 && mode->vdisplay == 480) || in tve200_display_enable() [all …]
|
/linux/include/drm/ |
A D | drm_modes.h | 137 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \ 154 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \ 239 u16 vdisplay; member 409 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \ 447 int hdisplay, int vdisplay, int vrefresh, 451 int hdisplay, int vdisplay, int vrefresh, 454 int hdisplay, int vdisplay, 481 int *hdisplay, int *vdisplay);
|
/linux/drivers/gpu/drm/mgag200/ |
A D | mgag200_mode.c | 369 vdisplay = mode->vdisplay - 1; in mgag200_set_mode_regs() 398 ((vdisplay & 0x400) >> 3); in mgag200_set_mode_regs() 409 ((vdisplay & 0x100) >> 7) | in mgag200_set_mode_regs() 411 ((vdisplay & 0x100) >> 5) | in mgag200_set_mode_regs() 414 ((vdisplay & 0x200) >> 3) | in mgag200_set_mode_regs() 417 ((vdisplay & 0x200) >> 3)); in mgag200_set_mode_regs() 420 WREG_CRT(18, vdisplay & 0xFF); in mgag200_set_mode_regs() 422 WREG_CRT(21, vdisplay & 0xFF); in mgag200_set_mode_regs() 719 if (mode->vdisplay > 1200) in mga_vga_mode_valid() 727 if (mode->vdisplay > 1200) in mga_vga_mode_valid() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_tv.c | 1022 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode() 1026 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode() 1029 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode() 1034 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode() 1044 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode() 1077 mode->vdisplay = vdisplay; in intel_tv_scale_mode_vert() 1174 int vdisplay) in intel_tv_vert_scaling() argument 1179 vdisplay; in intel_tv_vert_scaling() 1759 if (vdisplay <= 576) in intel_tv_is_preferred_mode() 1760 vdisplay = 480; in intel_tv_is_preferred_mode() [all …]
|
A D | dvo_ns2501.c | 532 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 540 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) || in ns2501_mode_valid() 541 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) || in ns2501_mode_valid() 542 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) { in ns2501_mode_valid() 559 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set() 591 if (mode->hdisplay == 640 && mode->vdisplay == 480) in ns2501_mode_set() 593 else if (mode->hdisplay == 800 && mode->vdisplay == 600) in ns2501_mode_set() 595 else if (mode->hdisplay == 1024 && mode->vdisplay == 768) in ns2501_mode_set()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_encoders.c | 170 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in amdgpu_panel_mode_fixup() 172 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in amdgpu_panel_mode_fixup() 180 adjusted_mode->vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup() 186 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in amdgpu_panel_mode_fixup() 187 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in amdgpu_panel_mode_fixup() 193 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup()
|
A D | amdgpu_connectors.c | 387 native_mode->vdisplay != 0 && in amdgpu_connector_lcd_native_mode() 395 native_mode->vdisplay != 0) { in amdgpu_connector_lcd_native_mode() 449 common_modes[i].h > native_mode->vdisplay || in amdgpu_connector_add_common_modes() 451 common_modes[i].h == native_mode->vdisplay)) in amdgpu_connector_add_common_modes() 619 mode->vdisplay != native_mode->vdisplay) in amdgpu_connector_fixup_lcd_native_mode() 628 mode->vdisplay == native_mode->vdisplay) { in amdgpu_connector_fixup_lcd_native_mode() 685 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid() 696 (mode->vdisplay > native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid() 702 (mode->vdisplay != native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid() 1450 (mode->vdisplay > native_mode->vdisplay)) in amdgpu_connector_dp_mode_valid() [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | tvnv17.c | 220 mode->vdisplay == tv_norm->tv_enc_mode.vdisplay) in nv17_tv_get_ld_modes() 238 int vdisplay; in nv17_tv_get_hd_modes() member 254 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes() 258 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes() 264 modes[i].vdisplay, 60, false, in nv17_tv_get_hd_modes() 278 if (output_mode->vdisplay >= 1024) { in nv17_tv_get_hd_modes() 316 mode->vdisplay > output_mode->vdisplay) in nv17_tv_mode_valid() 486 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set() 490 } else if (tv_norm->tv_enc_mode.vdisplay == 480) { in nv17_tv_mode_set() 501 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set() [all …]
|
A D | dfp.c | 193 mode->vdisplay > nv_connector->native_mode->vdisplay) { in nv04_dfp_mode_fixup() 314 regp->fp_vert_regs[FP_DISPLAY_END] = output_mode->vdisplay - 1; in nv04_dfp_mode_set() 320 regp->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - 1; in nv04_dfp_mode_set() 336 adjusted_mode->vdisplay == output_mode->vdisplay) /* native mode */ in nv04_dfp_mode_set() 375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set() 376 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mode->vdisplay; in nv04_dfp_mode_set() 389 scale = (1 << 12) * adjusted_mode->vdisplay / output_mode->vdisplay; in nv04_dfp_mode_set() 395 output_mode->vdisplay * mode_ratio / (1 << 12); in nv04_dfp_mode_set() 410 diff = output_mode->vdisplay - in nv04_dfp_mode_set()
|
A D | tvmodesnv17.c | 326 mode->vdisplay * id3}; in tv_setup_filter() 329 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); in tv_setup_filter() 560 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler() 564 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler() 569 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler() 570 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler() 575 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_hdmi.c | 1029 m->hdisplay, m->vdisplay, in hdmi_mode_fixup() 1258 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply() 1276 m->vtotal - m->vdisplay); in hdmi_v13_mode_apply() 1298 if ((m->vdisplay != am->vdisplay) && in hdmi_v14_mode_apply() 1326 (m->vtotal - m->vdisplay) / 2); in hdmi_v14_mode_apply() 1328 m->vtotal - m->vdisplay / 2); in hdmi_v14_mode_apply() 1342 m->vtotal - m->vdisplay / 2); in hdmi_v14_mode_apply() 1353 m->vsync_end - m->vdisplay); in hdmi_v14_mode_apply() 1355 m->vsync_start - m->vdisplay); in hdmi_v14_mode_apply() 1358 m->vtotal - m->vdisplay); in hdmi_v14_mode_apply() [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_tv.c | 155 u32 vdisplay; member 231 .vdisplay = 480, 257 .vdisplay = 576, 313 mode->vdisplay, tv_mode->vdisplay); in sun4i_tv_find_tv_by_mode() 315 if (mode->vdisplay == tv_mode->vdisplay) in sun4i_tv_find_tv_by_mode() 336 mode->vdisplay = tv_mode->vdisplay; in sun4i_tv_mode_to_drm_mode() 337 mode->vsync_start = mode->vdisplay + tv_mode->vfront_porch; in sun4i_tv_mode_to_drm_mode()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_encoders.c | 325 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup() 327 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in radeon_panel_mode_fixup() 336 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup() 343 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup() 344 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in radeon_panel_mode_fixup() 351 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
|
A D | radeon_connectors.c | 473 native_mode->vdisplay != 0 && in radeon_fp_native_mode() 481 native_mode->vdisplay != 0) { in radeon_fp_native_mode() 534 common_modes[i].h > native_mode->vdisplay || in radeon_add_common_modes() 536 common_modes[i].h == native_mode->vdisplay)) in radeon_add_common_modes() 779 mode->vdisplay != native_mode->vdisplay) in radeon_fixup_lvds_native_mode() 788 mode->vdisplay == native_mode->vdisplay) { in radeon_fixup_lvds_native_mode() 845 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in radeon_lvds_mode_valid() 856 (mode->vdisplay > native_mode->vdisplay)) in radeon_lvds_mode_valid() 862 (mode->vdisplay != native_mode->vdisplay)) in radeon_lvds_mode_valid() 1792 (mode->vdisplay > native_mode->vdisplay)) in radeon_dp_mode_valid() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | oaktrail_lvds.c | 134 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set() 136 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set() 140 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set() 230 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; in oaktrail_lvds_get_configuration_mode() 240 mode->vdisplay + ((ti->vsync_offset_hi << 4) | \ in oaktrail_lvds_get_configuration_mode() 245 mode->vtotal = mode->vdisplay + \ in oaktrail_lvds_get_configuration_mode() 250 pr_info("vdisplay is %d\n", mode->vdisplay); in oaktrail_lvds_get_configuration_mode()
|
A D | cdv_intel_lvds.c | 172 if (mode->vdisplay > fixed_mode->vdisplay) in cdv_intel_lvds_mode_valid() 209 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in cdv_intel_lvds_mode_fixup() 279 mode->vdisplay != adjusted_mode->vdisplay) in cdv_intel_lvds_mode_set() 375 crtc->saved_mode.vdisplay != 0) { in cdv_intel_lvds_set_property()
|
/linux/drivers/gpu/drm/gud/ |
A D | gud_internal.h | 139 dst->vdisplay = cpu_to_le16(src->vdisplay); in gud_from_display_mode() 157 dst->vdisplay = le16_to_cpu(src->vdisplay); in gud_to_display_mode()
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_display.c | 93 crtc->mode.vdisplay, 0, 0); in virtio_gpu_crtc_mode_set_nofb() 202 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid() 205 mode->vdisplay <= height && mode->vdisplay >= height - 16) in virtio_gpu_conn_mode_valid() 208 DRM_DEBUG("del mode: %dx%d\n", mode->hdisplay, mode->vdisplay); in virtio_gpu_conn_mode_valid()
|
/linux/drivers/gpu/drm/hisilicon/hibmc/ |
A D | hibmc_drm_de.c | 34 u64 vdisplay; member 89 crtc_state->adjusted_mode.vdisplay) { in hibmc_plane_atomic_check() 225 hibmc_pll_table[i].vdisplay == mode->vdisplay) in hibmc_crtc_mode_valid() 291 hibmc_pll_table[i].vdisplay == y) { in get_pll_config() 320 y = mode->vdisplay; in display_ctrl_adjust() 379 HIBMC_FIELD(HIBMC_CRT_VERT_TOTAL_DISP_END, mode->vdisplay - 1), in hibmc_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/tiny/ |
A D | simpledrm.c | 461 mode.clock = mode.hdisplay * mode.vdisplay * 60 / 1000 /* kHz */; in simpledrm_mode() 624 mode->vdisplay != sdev->mode.vdisplay) in simpledrm_simple_display_pipe_mode_valid() 628 else if (mode->vdisplay != sdev->mode.vdisplay) in simpledrm_simple_display_pipe_mode_valid() 668 memset_io(sdev->screen_base, 0, sdev->pitch * sdev->mode.vdisplay); in simpledrm_simple_display_pipe_disable() 771 dev->mode_config.min_height = mode->vdisplay; in simpledrm_device_init_modeset() 772 dev->mode_config.max_height = mode->vdisplay; in simpledrm_device_init_modeset()
|