Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-simple.c207 m->hdisplay, m->vdisplay, in panel_simple_get_display_modes()
768 .vdisplay = 800,
794 .vdisplay = 272,
818 .vdisplay = 480,
928 .vdisplay = 600,
953 .vdisplay = 768,
976 .vdisplay = 768,
1036 .vdisplay = 800,
1060 .vdisplay = 600,
1084 .vdisplay = 600,
[all …]
Dpanel-edp.c298 m->hdisplay, m->vdisplay, in panel_edp_get_display_modes()
1021 .vdisplay = 768,
1034 .vdisplay = 768,
1062 .vdisplay = 1080,
1089 .vdisplay = 768,
1112 .vdisplay = 800,
1123 .vdisplay = 800,
1153 .vdisplay = 1440,
1165 .vdisplay = 1440,
1196 .vdisplay = 1080,
[all …]
Dpanel-arm-versatile.c142 .vdisplay = 240,
165 .vdisplay = 480,
187 .vdisplay = 220,
210 .vdisplay = 320,
Dpanel-tpo-tpg110.c110 .vdisplay = 480,
126 .vdisplay = 480,
142 .vdisplay = 272,
158 .vdisplay = 640,
174 .vdisplay = 240,
Dpanel-sitronix-st7703.c139 .vdisplay = 1440,
318 .vdisplay = 1440,
405 .vdisplay = 480,
489 .vdisplay = 720,
575 .vdisplay = 1280,
657 .vdisplay = 480,
767 ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in st7703_get_modes()
896 ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in st7703_probe()
Dpanel-jdi-lpm102a188a.c147 err = mipi_dsi_dcs_set_page_address(left, 0, mode->vdisplay - 1); in jdi_setup_symmetrical_split()
153 err = mipi_dsi_dcs_set_page_address(right, 0, mode->vdisplay - 1); in jdi_setup_symmetrical_split()
243 jdi->mode->vdisplay - 16); in jdi_panel_prepare()
250 jdi->mode->vdisplay - 16); in jdi_panel_prepare()
356 .vdisplay = 1800,
373 default_mode.hdisplay, default_mode.vdisplay, in jdi_panel_get_modes()
/linux-6.12.1/drivers/gpu/drm/tve200/
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.12.1/drivers/gpu/drm/
Ddrm_modes.c504 mode->vdisplay = vactive; in fill_analog_mode()
505 mode->vsync_start = mode->vdisplay + vfp; in fill_analog_mode()
549 unsigned int vdisplay, in drm_analog_tv_mode() argument
587 pixel_clock_hz, hdisplay, vdisplay, interlace); in drm_analog_tv_mode()
624 int vdisplay, int vrefresh, in drm_cvt_mode() argument
644 if (!hdisplay || !vdisplay) in drm_cvt_mode()
678 vdisplay_rnd = vdisplay / 2; in drm_cvt_mode()
680 vdisplay_rnd = vdisplay; in drm_cvt_mode()
687 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
696 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
[all …]
/linux-6.12.1/include/drm/
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, \
477 unsigned int vdisplay,
491 int hdisplay, int vdisplay, int vrefresh,
495 int hdisplay, int vdisplay, int vrefresh,
498 int hdisplay, int vdisplay,
533 int *hdisplay, int *vdisplay);
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c170 unsigned int vblank = native_mode->vtotal - native_mode->vdisplay; in amdgpu_panel_mode_fixup()
172 unsigned int 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()
Damdgpu_connectors.c364 native_mode->vdisplay != 0 && in amdgpu_connector_lcd_native_mode()
375 native_mode->vdisplay != 0) { in amdgpu_connector_lcd_native_mode()
383 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false); in amdgpu_connector_lcd_native_mode()
432 common_modes[i].h > native_mode->vdisplay || in amdgpu_connector_add_common_modes()
434 common_modes[i].h == native_mode->vdisplay)) in amdgpu_connector_add_common_modes()
615 mode->vdisplay != native_mode->vdisplay) in amdgpu_connector_fixup_lcd_native_mode()
624 mode->vdisplay == native_mode->vdisplay) { in amdgpu_connector_fixup_lcd_native_mode()
681 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid()
692 (mode->vdisplay > native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid()
698 (mode->vdisplay != native_mode->vdisplay)) in amdgpu_connector_lvds_mode_valid()
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c223 mode->vdisplay == tv_norm->tv_enc_mode.vdisplay) in nv17_tv_get_ld_modes()
241 int vdisplay; in nv17_tv_get_hd_modes() member
257 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes()
261 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes()
269 modes[i].vdisplay, 60, false, in nv17_tv_get_hd_modes()
285 if (output_mode->vdisplay >= 1024) { in nv17_tv_get_hd_modes()
323 mode->vdisplay > output_mode->vdisplay) in nv17_tv_mode_valid()
493 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set()
497 } else if (tv_norm->tv_enc_mode.vdisplay == 480) { in nv17_tv_mode_set()
508 if (tv_norm->tv_enc_mode.vdisplay == 576) { in nv17_tv_mode_set()
[all …]
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()
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.12.1/drivers/gpu/drm/i915/display/
Dintel_tv.c1027 mode->vdisplay = intel_tv_mode_vdisplay(tv_mode); in intel_tv_mode_to_mode()
1029 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode()
1033 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode()
1036 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode()
1041 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode()
1051 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode()
1074 int vdisplay, int top_margin, in intel_tv_scale_mode_vert() argument
1077 int vsync_start = mode->vsync_start - mode->vdisplay + bottom_margin; in intel_tv_scale_mode_vert()
1078 int vsync_end = mode->vsync_end - mode->vdisplay + bottom_margin; in intel_tv_scale_mode_vert()
1079 int new_vtotal = mode->vtotal * vdisplay / in intel_tv_scale_mode_vert()
[all …]
Ddvo_ns2501.c531 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid()
539 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) || in ns2501_mode_valid()
540 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) || in ns2501_mode_valid()
541 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) { in ns2501_mode_valid()
558 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set()
590 if (mode->hdisplay == 640 && mode->vdisplay == 480) in ns2501_mode_set()
592 else if (mode->hdisplay == 800 && mode->vdisplay == 600) in ns2501_mode_set()
594 else if (mode->hdisplay == 1024 && mode->vdisplay == 768) in ns2501_mode_set()
/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_hdmi.c936 mode->hdisplay, mode->vdisplay, in hdmi_mode_valid()
1032 m->hdisplay, m->vdisplay, in hdmi_mode_fixup()
1238 val = ((m->vsync_end - m->vdisplay) / 2); in hdmi_v13_mode_apply()
1239 val |= ((m->vsync_start - m->vdisplay) / 2) << 12; in hdmi_v13_mode_apply()
1243 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_apply()
1261 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply()
1262 hdmi_reg_writev(hdata, HDMI_TG_VACT_SZ_L, 2, m->vdisplay / 2); in hdmi_v13_mode_apply()
1267 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_apply()
1272 val = (m->vsync_end - m->vdisplay); in hdmi_v13_mode_apply()
1273 val |= ((m->vsync_start - m->vdisplay) << 12); in hdmi_v13_mode_apply()
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_encoders.c328 unsigned int vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup()
330 unsigned int vover = native_mode->vsync_start - native_mode->vdisplay; in radeon_panel_mode_fixup()
339 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
346 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup()
347 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in radeon_panel_mode_fixup()
354 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
/linux-6.12.1/drivers/gpu/drm/gma500/
Doaktrail_lvds.c134 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()
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()
373 crtc->saved_mode.vdisplay != 0) { in cdv_intel_lvds_set_property()
/linux-6.12.1/drivers/gpu/drm/gud/
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.12.1/drivers/gpu/drm/bridge/
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.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_display.c94 crtc->mode.vdisplay, 0, 0); in virtio_gpu_crtc_mode_set_nofb()
203 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid()
206 mode->vdisplay <= height && mode->vdisplay >= height - 16) in virtio_gpu_conn_mode_valid()
209 DRM_DEBUG("del mode: %dx%d\n", mode->hdisplay, mode->vdisplay); in virtio_gpu_conn_mode_valid()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_writeback.c66 mode->name, mode->hdisplay, mode->vdisplay); in dpu_wb_conn_atomic_check()
71 } else if (fb->height != mode->vdisplay) { in dpu_wb_conn_atomic_check()
72 DPU_ERROR("invalid fb h=%d, mode h=%d\n", fb->height, mode->vdisplay); in dpu_wb_conn_atomic_check()
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_modes_test.c65 KUNIT_EXPECT_EQ(test, mode->vdisplay, 480); in drm_test_modes_analog_tv_ntsc_480i()
112 KUNIT_EXPECT_EQ(test, mode->vdisplay, 576); in drm_test_modes_analog_tv_pal_576i()
159 KUNIT_EXPECT_EQ(test, mode->vdisplay, 576); in drm_test_modes_analog_tv_mono_576i()

12345678910>>...13