/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-simple.c | 207 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 …]
|
D | panel-edp.c | 298 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 …]
|
D | panel-arm-versatile.c | 142 .vdisplay = 240, 165 .vdisplay = 480, 187 .vdisplay = 220, 210 .vdisplay = 320,
|
D | panel-tpo-tpg110.c | 110 .vdisplay = 480, 126 .vdisplay = 480, 142 .vdisplay = 272, 158 .vdisplay = 640, 174 .vdisplay = 240,
|
D | panel-sitronix-st7703.c | 139 .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()
|
D | panel-jdi-lpm102a188a.c | 147 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/ |
D | tve200_display.c | 82 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/ |
D | drm_modes.c | 504 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/ |
D | drm_modes.h | 137 .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/ |
D | amdgpu_encoders.c | 170 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()
|
D | amdgpu_connectors.c | 364 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/ |
D | tvnv17.c | 223 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 …]
|
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()
|
D | tvmodesnv17.c | 325 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/ |
D | intel_tv.c | 1027 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 …]
|
D | dvo_ns2501.c | 531 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/ |
D | exynos_hdmi.c | 936 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/ |
D | radeon_encoders.c | 328 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/ |
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()
|
D | cdv_intel_lvds.c | 174 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/ |
D | gud_internal.h | 140 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/ |
D | ti-dlpc3433.c | 138 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/ |
D | virtgpu_display.c | 94 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/ |
D | dpu_writeback.c | 66 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/ |
D | drm_modes_test.c | 65 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()
|