Home
last modified time | relevance | path

Searched refs:vdisplay (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux-6.3-rc2/drivers/gpu/drm/panel/
A Dpanel-simple.c724 .vdisplay = 800,
750 .vdisplay = 272,
774 .vdisplay = 480,
854 .vdisplay = 600,
879 .vdisplay = 768,
930 .vdisplay = 800,
954 .vdisplay = 600,
978 .vdisplay = 800,
1032 .vdisplay = 768,
1171 .vdisplay = 600,
[all …]
A Dpanel-edp.c961 .vdisplay = 768,
987 .vdisplay = 768,
1013 .vdisplay = 1080,
1040 .vdisplay = 1080,
1067 .vdisplay = 768,
1089 .vdisplay = 1080,
1117 .vdisplay = 800,
1128 .vdisplay = 800,
1271 .vdisplay = 768,
1409 .vdisplay = 768,
[all …]
A Dpanel-arm-versatile.c142 .vdisplay = 240,
165 .vdisplay = 480,
187 .vdisplay = 220,
210 .vdisplay = 320,
A Dpanel-tpo-tpg110.c110 .vdisplay = 480,
126 .vdisplay = 480,
142 .vdisplay = 272,
158 .vdisplay = 640,
174 .vdisplay = 240,
A Dpanel-ilitek-ili9322.c547 .vdisplay = 240,
560 .vdisplay = 240,
574 .vdisplay = 240,
588 .vdisplay = 320,
601 .vdisplay = 360,
615 .vdisplay = 480,
629 .vdisplay = 480,
/linux-6.3-rc2/drivers/gpu/drm/tve200/
A Dtve200_display.c82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */ in tve200_display_check()
83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */ in tve200_display_check()
84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */ in tve200_display_check()
85 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */ in tve200_display_check()
86 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */ in tve200_display_check()
88 mode->hdisplay, mode->vdisplay); in tve200_display_check()
171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ in tve200_display_enable()
172 (mode->hdisplay == 352 && mode->vdisplay == 288)) { /* CIF(625) */ in tve200_display_enable()
175 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) { in tve200_display_enable()
178 } else if ((mode->hdisplay == 720 && mode->vdisplay == 480) || in tve200_display_enable()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_modes.c503 mode->vdisplay = vactive; in fill_analog_mode()
684 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
693 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
695 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode()
697 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode()
699 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode()
701 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode()
1476 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings()
1850 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; in drm_mode_compare()
2590 out->vdisplay = in->vdisplay; in drm_mode_convert_to_umode()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/mgag200/
A Dmgag200_mode.c218 vdisplay = mode->vdisplay - 1; in mgag200_set_mode_regs()
244 ((vdisplay & 0x400) >> 8) | in mgag200_set_mode_regs()
245 ((vdisplay & 0xc00) >> 7) | in mgag200_set_mode_regs()
247 ((vdisplay & 0x400) >> 3); in mgag200_set_mode_regs()
258 ((vdisplay & 0x100) >> 7) | in mgag200_set_mode_regs()
260 ((vdisplay & 0x100) >> 5) | in mgag200_set_mode_regs()
263 ((vdisplay & 0x200) >> 3) | in mgag200_set_mode_regs()
266 ((vdisplay & 0x200) >> 3)); in mgag200_set_mode_regs()
269 WREG_CRT(18, vdisplay & 0xFF); in mgag200_set_mode_regs()
271 WREG_CRT(21, vdisplay & 0xFF); in mgag200_set_mode_regs()
[all …]
/linux-6.3-rc2/include/drm/
A Ddrm_modes.h137 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
152 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \
264 u16 vdisplay; member
434 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
475 unsigned int vdisplay,
489 int hdisplay, int vdisplay, int vrefresh,
493 int hdisplay, int vdisplay, int vrefresh,
496 int hdisplay, int vdisplay,
531 int *hdisplay, int *vdisplay);
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_encoders.c169 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in amdgpu_panel_mode_fixup()
171 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in amdgpu_panel_mode_fixup()
179 adjusted_mode->vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup()
185 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in amdgpu_panel_mode_fixup()
186 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in amdgpu_panel_mode_fixup()
192 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup()
A Damdgpu_connectors.c390 native_mode->vdisplay != 0 && in amdgpu_connector_lcd_native_mode()
401 native_mode->vdisplay != 0) { in amdgpu_connector_lcd_native_mode()
458 common_modes[i].h > native_mode->vdisplay || in amdgpu_connector_add_common_modes()
460 common_modes[i].h == native_mode->vdisplay)) in amdgpu_connector_add_common_modes()
628 mode->vdisplay != native_mode->vdisplay) in amdgpu_connector_fixup_lcd_native_mode()
637 mode->vdisplay == native_mode->vdisplay) { in amdgpu_connector_fixup_lcd_native_mode()
694 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid()
705 (mode->vdisplay > native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid()
711 (mode->vdisplay != native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid()
1479 (mode->vdisplay > native_mode->vdisplay)) in amdgpu_connector_dp_mode_valid()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_tv.c1025 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode()
1029 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode()
1032 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode()
1037 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode()
1047 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode()
1080 mode->vdisplay = vdisplay; in intel_tv_scale_mode_vert()
1177 int vdisplay) in intel_tv_vert_scaling() argument
1182 vdisplay; in intel_tv_vert_scaling()
1772 if (vdisplay <= 576) in intel_tv_is_preferred_mode()
1773 vdisplay = 480; in intel_tv_is_preferred_mode()
[all …]
A Ddvo_ns2501.c532 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-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/
A Dtvnv17.c221 mode->vdisplay == tv_norm->tv_enc_mode.vdisplay) in nv17_tv_get_ld_modes()
239 int vdisplay; in nv17_tv_get_hd_modes() member
255 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes()
259 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes()
265 modes[i].vdisplay, 60, false, in nv17_tv_get_hd_modes()
279 if (output_mode->vdisplay >= 1024) { in nv17_tv_get_hd_modes()
317 mode->vdisplay > output_mode->vdisplay) in nv17_tv_mode_valid()
487 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set()
491 } else if (tv_norm->tv_enc_mode.vdisplay == 480) { in nv17_tv_mode_set()
502 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set()
[all …]
A Ddfp.c193 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 Dtvmodesnv17.c325 mode->vdisplay * id3}; in tv_setup_filter()
328 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); in tv_setup_filter()
559 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
563 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
568 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler()
569 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
574 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_encoders.c324 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup()
326 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in radeon_panel_mode_fixup()
335 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
342 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup()
343 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in radeon_panel_mode_fixup()
350 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
/linux-6.3-rc2/drivers/gpu/drm/exynos/
A Dexynos_hdmi.c1029 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-6.3-rc2/drivers/gpu/drm/gud/
A Dgud_internal.h140 dst->vdisplay = cpu_to_le16(src->vdisplay); in gud_from_display_mode()
158 dst->vdisplay = le16_to_cpu(src->vdisplay); in gud_to_display_mode()
/linux-6.3-rc2/drivers/gpu/drm/bridge/
A Dti-dlpc3433.c138 buf[6] = mode->vdisplay & 0xff; in dlpc_atomic_enable()
139 buf[7] = (mode->vdisplay & 0xff00) >> 8; in dlpc_atomic_enable()
145 buf[6] = mode->vdisplay & 0xff; in dlpc_atomic_enable()
146 buf[7] = (mode->vdisplay & 0xff00) >> 8; in dlpc_atomic_enable()
152 buf[2] = mode->vdisplay & 0xff; in dlpc_atomic_enable()
153 buf[3] = (mode->vdisplay & 0xff00) >> 8; in dlpc_atomic_enable()
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Doaktrail_lvds.c136 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set()
138 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set()
142 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set()
232 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; in oaktrail_lvds_get_configuration_mode()
242 mode->vdisplay + ((ti->vsync_offset_hi << 4) | \ in oaktrail_lvds_get_configuration_mode()
247 mode->vtotal = mode->vdisplay + \ in oaktrail_lvds_get_configuration_mode()
252 pr_info("vdisplay is %d\n", mode->vdisplay); in oaktrail_lvds_get_configuration_mode()
A Dcdv_intel_lvds.c174 if (mode->vdisplay > fixed_mode->vdisplay) in cdv_intel_lvds_mode_valid()
211 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in cdv_intel_lvds_mode_fixup()
281 mode->vdisplay != adjusted_mode->vdisplay) in cdv_intel_lvds_mode_set()
370 crtc->saved_mode.vdisplay != 0) { in cdv_intel_lvds_set_property()
/linux-6.3-rc2/drivers/gpu/drm/virtio/
A Dvirtgpu_display.c94 crtc->mode.vdisplay, 0, 0); in virtio_gpu_crtc_mode_set_nofb()
205 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid()
208 mode->vdisplay <= height && mode->vdisplay >= height - 16) in virtio_gpu_conn_mode_valid()
211 DRM_DEBUG("del mode: %dx%d\n", mode->hdisplay, mode->vdisplay); in virtio_gpu_conn_mode_valid()
/linux-6.3-rc2/drivers/gpu/drm/hisilicon/hibmc/
A Dhibmc_drm_de.c34 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-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_cmd_encoder.c66 REG_MDP5_PP_VSYNC_INIT_VAL(pp_id), mode->vdisplay); in pingpong_tearcheck_setup()
67 mdp5_write(mdp5_kms, REG_MDP5_PP_RD_PTR_IRQ(pp_id), mode->vdisplay + 1); in pingpong_tearcheck_setup()
68 mdp5_write(mdp5_kms, REG_MDP5_PP_START_POS(pp_id), mode->vdisplay); in pingpong_tearcheck_setup()

Completed in 51 milliseconds

12345678910>>...12