/linux-6.3-rc2/drivers/gpu/drm/panel/ |
A D | panel-simple.c | 746 .hdisplay = 480, 770 .hdisplay = 800, 950 .hdisplay = 800, 1194 .hdisplay = 800, 1241 .hdisplay = 480, 1293 .hdisplay = 800, 1319 .hdisplay = 800, 1372 .hdisplay = 800, 1497 .hdisplay = 800, 1583 .hdisplay = 320, [all …]
|
A D | panel-edp.c | 957 .hdisplay = 1366, 983 .hdisplay = 1366, 1009 .hdisplay = 1920, 1036 .hdisplay = 1920, 1063 .hdisplay = 1366, 1085 .hdisplay = 1920, 1197 .hdisplay = 1920, 1267 .hdisplay = 1366, 1329 .hdisplay = 1920, 1351 .hdisplay = 2160, [all …]
|
A D | panel-arm-versatile.c | 138 .hdisplay = 320, 161 .hdisplay = 640, 183 .hdisplay = 176, 206 .hdisplay = 240,
|
A D | panel-sharp-lq101r1sx01.c | 133 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1); in sharp_setup_symmetrical_split() 145 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2, in sharp_setup_symmetrical_split() 146 mode->hdisplay - 1); in sharp_setup_symmetrical_split() 264 .hdisplay = 2560, 282 default_mode.hdisplay, default_mode.vdisplay, in sharp_panel_get_modes()
|
A D | panel-tpo-tpg110.c | 106 .hdisplay = 800, 122 .hdisplay = 640, 138 .hdisplay = 480, 154 .hdisplay = 480, 170 .hdisplay = 400,
|
/linux-6.3-rc2/drivers/gpu/drm/tve200/ |
A 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() 105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { in tve200_display_check() 171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ 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/include/drm/ |
A D | drm_modes.h | 136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \ 151 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \ 259 u16 hdisplay; member 433 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ 474 unsigned int hdisplay, 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/ |
A D | drm_modes.c | 455 mode->hdisplay = hactive; in fill_analog_mode() 547 unsigned int hdisplay, in drm_analog_tv_mode() argument 641 if (!hdisplay || !vdisplay) in drm_cvt_mode() 662 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode() 879 if (!hdisplay || !vdisplay) in drm_gtf_mode_complex() 1071 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode() 1471 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings() 1639 if (mode->hdisplay == 0 || in drm_mode_validate_basic() 1850 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; in drm_mode_compare() 2585 out->hdisplay = in->hdisplay; in drm_mode_convert_to_umode() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_encoders.c | 168 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 170 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 178 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 181 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 182 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup() 191 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
|
A D | amdgpu_connectors.c | 389 if (native_mode->hdisplay != 0 && in amdgpu_connector_lcd_native_mode() 400 } else if (native_mode->hdisplay != 0 && in amdgpu_connector_lcd_native_mode() 457 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_connector_add_common_modes() 459 (common_modes[i].w == native_mode->hdisplay && in amdgpu_connector_add_common_modes() 627 if (mode->hdisplay != native_mode->hdisplay || in amdgpu_connector_fixup_lcd_native_mode() 636 if (mode->hdisplay == native_mode->hdisplay && in amdgpu_connector_fixup_lcd_native_mode() 694 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid() 704 if ((mode->hdisplay > native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid() 710 if ((mode->hdisplay != native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid() 1478 if ((mode->hdisplay > native_mode->hdisplay) || in amdgpu_connector_dp_mode_valid() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/ |
A D | tvnv17.c | 220 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes() 238 int hdisplay; in nv17_tv_get_hd_modes() member 254 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes() 258 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes() 264 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes() 271 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes() 272 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes() 274 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes() 275 - mode->hdisplay) * 9 / 10) & ~7; in nv17_tv_get_hd_modes() 316 if (mode->hdisplay > output_mode->hdisplay || in nv17_tv_mode_valid() [all …]
|
A D | dfp.c | 192 mode->hdisplay > nv_connector->native_mode->hdisplay || in nv04_dfp_mode_fixup() 301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 304 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set() 306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set() 312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 335 else if (adjusted_mode->hdisplay == output_mode->hdisplay && 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() 394 diff = output_mode->hdisplay - in nv04_dfp_mode_set() 405 scale = (1 << 12) * adjusted_mode->hdisplay / output_mode->hdisplay; in nv04_dfp_mode_set() [all …]
|
A D | tvmodesnv17.c | 324 uint64_t rs[] = {mode->hdisplay * id3, in tv_setup_filter() 327 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay); in tv_setup_filter() 558 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler() 561 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler() 566 hratio = crtc_mode->hdisplay * 0x800 / in nv17_ctv_update_rescaler() 567 (output_mode->hdisplay - 2*hmargin); in nv17_ctv_update_rescaler() 572 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1; in nv17_ctv_update_rescaler()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_encoders.c | 323 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup() 325 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in radeon_panel_mode_fixup() 334 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup() 338 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup() 339 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup() 349 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
|
/linux-6.3-rc2/drivers/gpu/drm/gud/ |
A D | gud_internal.h | 136 dst->hdisplay = cpu_to_le16(src->hdisplay); in gud_from_display_mode() 154 dst->hdisplay = le16_to_cpu(src->hdisplay); in gud_to_display_mode()
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/ |
A D | ti-dlpc3433.c | 136 buf[4] = mode->hdisplay & 0xff; in dlpc_atomic_enable() 137 buf[5] = (mode->hdisplay & 0xff00) >> 8; in dlpc_atomic_enable() 143 buf[4] = mode->hdisplay & 0xff; in dlpc_atomic_enable() 144 buf[5] = (mode->hdisplay & 0xff00) >> 8; in dlpc_atomic_enable() 150 buf[0] = mode->hdisplay & 0xff; in dlpc_atomic_enable() 151 buf[1] = (mode->hdisplay & 0xff00) >> 8; in dlpc_atomic_enable()
|
/linux-6.3-rc2/drivers/gpu/drm/gma500/ |
A D | oaktrail_lvds.c | 137 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 139 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set() 142 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set() 231 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in oaktrail_lvds_get_configuration_mode() 233 mode->hsync_start = mode->hdisplay + \ in oaktrail_lvds_get_configuration_mode() 239 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in oaktrail_lvds_get_configuration_mode() 251 pr_info("hdisplay is %d\n", mode->hdisplay); in oaktrail_lvds_get_configuration_mode()
|
A D | cdv_intel_lvds.c | 172 if (mode->hdisplay > fixed_mode->hdisplay) in cdv_intel_lvds_mode_valid() 207 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in cdv_intel_lvds_mode_fixup() 280 if (mode->hdisplay != adjusted_mode->hdisplay || in cdv_intel_lvds_mode_set() 369 if (crtc->saved_mode.hdisplay != 0 && in cdv_intel_lvds_set_property()
|
/linux-6.3-rc2/drivers/gpu/drm/tilcdc/ |
A D | tilcdc_plane.c | 51 if (crtc_state->mode.hdisplay != new_state->crtc_w || in tilcdc_plane_atomic_check() 55 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay, in tilcdc_plane_atomic_check() 60 pitch = crtc_state->mode.hdisplay * in tilcdc_plane_atomic_check()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
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()
|
A D | intel_tv.c | 1004 mode->hdisplay = in intel_tv_mode_to_mode() 1006 mode->hsync_start = mode->hdisplay + in intel_tv_mode_to_mode() 1047 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode() 1053 int hdisplay, int left_margin, in intel_tv_scale_mode_horiz() argument 1058 int new_htotal = mode->htotal * hdisplay / in intel_tv_scale_mode_horiz() 1063 mode->hdisplay = hdisplay; in intel_tv_scale_mode_horiz() 1096 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config() local 1154 intel_tv_scale_mode_horiz(&mode, hdisplay, in intel_tv_get_config() 1155 xpos, mode.hdisplay - xsize - xpos); in intel_tv_get_config() 1170 int hdisplay) in intel_tv_source_too_wide() argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/mgag200/ |
A D | mgag200_mode.c | 205 unsigned int hdisplay, hsyncstart, hsyncend, htotal; in mgag200_set_mode_regs() local 209 hdisplay = mode->hdisplay / 8 - 1; in mgag200_set_mode_regs() 236 ((hdisplay & 0x100) >> 7) | in mgag200_set_mode_regs() 251 WREG_CRT(1, hdisplay); in mgag200_set_mode_regs() 252 WREG_CRT(2, hdisplay); in mgag200_set_mode_regs() 553 if (mode->hdisplay > info->max_hdisplay) in mgag200_crtc_helper_mode_valid() 558 if ((mode->hdisplay % 8) != 0 || (mode->hsync_start % 8) != 0 || in mgag200_crtc_helper_mode_valid() 762 active_area = mode->hdisplay * mode->vdisplay; in mgag200_calculate_mode_bandwidth() 784 fbsize = mode->hdisplay * mode->vdisplay * max_bpp; in mgag200_mode_config_mode_valid()
|
/linux-6.3-rc2/drivers/gpu/drm/pl111/ |
A D | pl111_display.c | 64 bw = bw * mode->hdisplay * mode->vdisplay * cpp; in pl111_mode_valid() 73 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 79 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 93 if (mode->hdisplay % 16) in pl111_display_check() 106 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) in pl111_display_check() 147 ppl = (mode->hdisplay / 16) - 1; in pl111_display_enable() 149 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable() 157 cpl = mode->hdisplay - 1; in pl111_display_enable()
|
/linux-6.3-rc2/drivers/gpu/drm/virtio/ |
A D | virtgpu_display.c | 93 crtc->mode.hdisplay, in virtio_gpu_crtc_mode_set_nofb() 205 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid() 207 if (mode->hdisplay <= width && mode->hdisplay >= width - 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/exynos/ |
A D | exynos_hdmi.c | 933 mode->hdisplay, mode->vdisplay, in hdmi_mode_valid() 1029 m->hdisplay, m->vdisplay, in hdmi_mode_fixup() 1222 val = (m->hsync_start - m->hdisplay - 2); in hdmi_v13_mode_apply() 1223 val |= ((m->hsync_end - m->hdisplay - 2) << 10); in hdmi_v13_mode_apply() 1254 (m->hsync_start - m->hdisplay)) << 12; in hdmi_v13_mode_apply() 1299 (m->hdisplay == 1280 || m->hdisplay == 1024 || m->hdisplay == 1366)) in hdmi_v14_mode_apply() 1335 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply() 1337 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply() 1371 m->hsync_start - m->hdisplay - 2); in hdmi_v14_mode_apply() 1373 m->hsync_end - m->hdisplay - 2); in hdmi_v14_mode_apply() [all …]
|