Home
last modified time | relevance | path

Searched refs:hdisplay (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c207 m->hdisplay, m->vdisplay, in panel_simple_get_display_modes()
764 .hdisplay = 1280,
790 .hdisplay = 480,
814 .hdisplay = 800,
924 .hdisplay = 1024,
949 .hdisplay = 1366,
972 .hdisplay = 1366,
1032 .hdisplay = 1280,
1056 .hdisplay = 800,
1080 .hdisplay = 800,
[all …]
H A Dpanel-edp.c298 m->hdisplay, m->vdisplay, in panel_edp_get_display_modes()
1017 .hdisplay = 1366,
1030 .hdisplay = 1366,
1058 .hdisplay = 1920,
1085 .hdisplay = 1366,
1108 .hdisplay = 1280,
1119 .hdisplay = 1280,
1149 .hdisplay = 2160,
1161 .hdisplay = 2160,
1192 .hdisplay = 1920,
[all …]
H A Dpanel-sharp-lq101r1sx01.c113 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1); in sharp_setup_symmetrical_split()
125 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2, in sharp_setup_symmetrical_split()
126 mode->hdisplay - 1); in sharp_setup_symmetrical_split()
227 .hdisplay = 2560,
245 default_mode.hdisplay, default_mode.vdisplay, in sharp_panel_get_modes()
H A Dpanel-arm-versatile.c138 .hdisplay = 320,
161 .hdisplay = 640,
183 .hdisplay = 176,
206 .hdisplay = 240,
H A Dpanel-tpo-tpg110.c106 .hdisplay = 800,
122 .hdisplay = 640,
138 .hdisplay = 480,
154 .hdisplay = 480,
170 .hdisplay = 400,
H A Dpanel-sitronix-st7703.c135 .hdisplay = 720,
314 .hdisplay = 720,
401 .hdisplay = 640,
485 .hdisplay = 720,
571 .hdisplay = 720,
653 .hdisplay = 640,
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()
/linux/drivers/gpu/drm/tve200/
H 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()
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()
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()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_modes.c456 mode->hdisplay = hactive; in fill_analog_mode()
457 mode->hsync_start = mode->hdisplay + hfp; in fill_analog_mode()
548 unsigned int hdisplay, in drm_analog_tv_mode() argument
587 pixel_clock_hz, hdisplay, vdisplay, interlace); in drm_analog_tv_mode()
623 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, in drm_cvt_mode() argument
644 if (!hdisplay || !vdisplay) in drm_cvt_mode()
665 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode()
674 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
696 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
698 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode()
[all …]
/linux/include/drm/
H A Ddrm_modes.h136 .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, \
476 unsigned int hdisplay,
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/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c208 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes()
222 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes()
240 int hdisplay; in nv17_tv_get_hd_modes() member
256 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes()
260 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes()
268 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes()
277 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes()
278 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes()
280 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes()
281 - mode->hdisplay) * 9 / 10) & ~7; in nv17_tv_get_hd_modes()
[all …]
H A Ddfp.c192 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 …]
H A Dtvmodesnv17.c324 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c169 unsigned int hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup()
171 unsigned int hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup()
179 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup()
183 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup()
192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
H A Damdgpu_connectors.c363 if (native_mode->hdisplay != 0 && in amdgpu_connector_lcd_native_mode()
374 } else if (native_mode->hdisplay != 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()
431 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_connector_add_common_modes()
433 (common_modes[i].w == native_mode->hdisplay && in amdgpu_connector_add_common_modes()
614 if (mode->hdisplay != native_mode->hdisplay || in amdgpu_connector_fixup_lcd_native_mode()
623 if (mode->hdisplay == native_mode->hdisplay && in amdgpu_connector_fixup_lcd_native_mode()
681 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid()
691 if ((mode->hdisplay > native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid()
697 if ((mode->hdisplay != native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c327 unsigned int hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup()
329 unsigned int hover = native_mode->hsync_start - native_mode->hdisplay; in radeon_panel_mode_fixup()
338 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
342 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup()
343 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup()
353 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
/linux/drivers/gpu/drm/gma500/
H A Doaktrail_lvds.c135 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set()
137 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
140 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set()
229 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in oaktrail_lvds_get_configuration_mode()
231 mode->hsync_start = mode->hdisplay + \ in oaktrail_lvds_get_configuration_mode()
237 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in oaktrail_lvds_get_configuration_mode()
249 pr_info("hdisplay is %d\n", mode->hdisplay); in oaktrail_lvds_get_configuration_mode()
H A Dcdv_intel_lvds.c172 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()
372 if (crtc->saved_mode.hdisplay != 0 && in cdv_intel_lvds_set_property()
/linux/drivers/gpu/drm/gud/
H A Dgud_internal.h136 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/drivers/gpu/drm/i915/display/
H A 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()
H A Dintel_tv.c1009 mode->hdisplay = in intel_tv_mode_to_mode()
1011 mode->hsync_start = mode->hdisplay + in intel_tv_mode_to_mode()
1052 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode()
1058 int hdisplay, int left_margin, in intel_tv_scale_mode_horiz() argument
1061 int hsync_start = mode->hsync_start - mode->hdisplay + right_margin; in intel_tv_scale_mode_horiz()
1062 int hsync_end = mode->hsync_end - mode->hdisplay + right_margin; in intel_tv_scale_mode_horiz()
1063 int new_htotal = mode->htotal * hdisplay / in intel_tv_scale_mode_horiz()
1064 (mode->hdisplay - left_margin - right_margin); in intel_tv_scale_mode_horiz()
1068 mode->hdisplay = hdisplay; in intel_tv_scale_mode_horiz()
1069 mode->hsync_start = hdisplay + hsync_start * new_htotal / mode->htotal; in intel_tv_scale_mode_horiz()
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c51 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/drivers/gpu/drm/pl111/
H A Dpl111_display.c64 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/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c161 framesize = FIELD_PREP(IMX21LCDC_LSR_XMAX, crtc->mode.hdisplay >> 4) | in imx_lcdc_update_hw_registers()
166 lhcr = FIELD_PREP(IMX21LCDC_LHCR_HFPORCH, crtc->mode.hsync_start - crtc->mode.hdisplay - 1) | in imx_lcdc_update_hw_registers()
282 if (mode->hdisplay < LCDC_MIN_XRES || mode->hdisplay > LCDC_MAX_XRES || in imx_lcdc_pipe_check()
284 mode->hdisplay % 0x10) { /* must be multiple of 16 */ in imx_lcdc_pipe_check()
286 mode->hdisplay, mode->vdisplay); in imx_lcdc_pipe_check()
291 old_mode->hdisplay != mode->hdisplay || in imx_lcdc_pipe_check()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_display.c93 crtc->mode.hdisplay, in virtio_gpu_crtc_mode_set_nofb()
203 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid()
205 if (mode->hdisplay <= width && mode->hdisplay >= width - 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/drivers/gpu/drm/exynos/
H A Dexynos_hdmi.c941 mode->hdisplay, mode->vdisplay, in hdmi_mode_valid()
1037 m->hdisplay, m->vdisplay, in hdmi_mode_fixup()
1220 hdmi_reg_writev(hdata, HDMI_H_BLANK_0, 2, m->htotal - m->hdisplay); in hdmi_v13_mode_apply()
1230 val = (m->hsync_start - m->hdisplay - 2); in hdmi_v13_mode_apply()
1231 val |= ((m->hsync_end - m->hdisplay - 2) << 10); in hdmi_v13_mode_apply()
1260 val = ((m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v13_mode_apply()
1262 (m->hsync_start - m->hdisplay)) << 12; in hdmi_v13_mode_apply()
1289 hdmi_reg_writev(hdata, HDMI_TG_HACT_ST_L, 2, m->htotal - m->hdisplay); in hdmi_v13_mode_apply()
1290 hdmi_reg_writev(hdata, HDMI_TG_HACT_SZ_L, 2, m->hdisplay); in hdmi_v13_mode_apply()
1307 (m->hdisplay == 1280 || m->hdisplay == 1024 || m->hdisplay == 1366)) in hdmi_v14_mode_apply()
[all …]

12345678910>>...12