Searched refs:crtc_hdisplay (Results 1 - 25 of 40) sorted by relevance

12

/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_panel.c403 if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
412 x = (adjusted_mode->crtc_hdisplay - width + 1)/2;
419 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h;
425 x = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
434 width = adjusted_mode->crtc_hdisplay;
437 width = adjusted_mode->crtc_hdisplay;
444 WARN_ON(adjusted_mode->crtc_hdisplay != pipe_src_w);
449 width = adjusted_mode->crtc_hdisplay;
476 border = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
479 adjusted_mode->crtc_hdisplay
[all...]
H A Dvlv_dsi.c1047 adjusted_mode->crtc_hdisplay =
1057 hactive = adjusted_mode->crtc_hdisplay;
1086 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay;
1088 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay;
1109 adjusted_mode_sw->crtc_hdisplay;
1142 crtc_htotal_sw = adjusted_mode_sw->crtc_hdisplay + hfp_sw +
1144 crtc_hsync_start_sw = hfp_sw + adjusted_mode_sw->crtc_hdisplay;
1146 crtc_hblank_start_sw = adjusted_mode_sw->crtc_hdisplay;
1221 hactive = adjusted_mode->crtc_hdisplay;
1222 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay;
[all...]
H A Ddvo_ivch.c418 if (mode->hdisplay != adjusted_mode->crtc_hdisplay ||
425 (adjusted_mode->crtc_hdisplay - 1)) >> 2;
H A Dicl_dsi.c303 u16 hactive = adjusted_mode->crtc_hdisplay;
867 hactive = adjusted_mode->crtc_hdisplay;
907 if (adjusted_mode->crtc_hdisplay < 256)
1474 adjusted_mode->crtc_hdisplay *= 2;
1476 adjusted_mode->crtc_hdisplay -=
1480 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay;
H A Dintel_fbdev.c500 cur_size = crtc_state->uapi.adjusted_mode.crtc_hdisplay;
517 crtc_state->uapi.adjusted_mode.crtc_hdisplay,
H A Dintel_psr.c965 const int crtc_hdisplay = crtc_state->hw.adjusted_mode.crtc_hdisplay; local
970 if (crtc_hdisplay % intel_dp->psr.su_w_granularity)
1071 int crtc_hdisplay = crtc_state->hw.adjusted_mode.crtc_hdisplay; local
1191 (crtc_hdisplay > psr_max_h || crtc_vdisplay > psr_max_v)) {
1194 crtc_hdisplay, crtc_vdisplay,
H A Dintel_crtc_state_dump.c22 mode->crtc_hdisplay, mode->crtc_hblank_start, mode->crtc_hblank_end,
H A Dintel_dvo.c313 DVO_SRCDIM_HORIZONTAL(adjusted_mode->crtc_hdisplay) |
H A Ddvo_ns2501.c577 adjusted_mode->crtc_hdisplay,
H A Dintel_dp.c1734 adjusted_mode->crtc_hdisplay,
1756 adjusted_mode->crtc_hdisplay,
1852 if (intel_dp_need_bigjoiner(intel_dp, adjusted_mode->crtc_hdisplay,
2301 if (intel_dp_hdisplay_bad(dev_priv, adjusted_mode->crtc_hdisplay))
2344 adjusted_mode->crtc_hdisplay = adjusted_mode->crtc_hdisplay / n + overlap;
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_crtc.c57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
61 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay;
62 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay;
65 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
66 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
68 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2);
69 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /
[all...]
H A Damdgpu_encoders.c192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank;
196 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover;
H A Ddce_v11_0.c638 if (mode->crtc_hdisplay < 1920) {
641 } else if (mode->crtc_hdisplay < 2560) {
644 } else if (mode->crtc_hdisplay < 4096) {
1067 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
1085 wm_high.src_width = mode->crtc_hdisplay;
1124 wm_low.src_width = mode->crtc_hdisplay;
1150 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
H A Ddce_v10_0.c606 if (mode->crtc_hdisplay < 1920) {
609 } else if (mode->crtc_hdisplay < 2560) {
612 } else if (mode->crtc_hdisplay < 4096) {
1035 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
1053 wm_high.src_width = mode->crtc_hdisplay;
1092 wm_low.src_width = mode->crtc_hdisplay;
1118 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
H A Ddce_v8_0.c547 if (mode->crtc_hdisplay < 1920) {
550 } else if (mode->crtc_hdisplay < 2560) {
553 } else if (mode->crtc_hdisplay < 4096) {
974 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
992 wm_high.src_width = mode->crtc_hdisplay;
1031 wm_low.src_width = mode->crtc_hdisplay;
1057 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_encoders.c352 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
356 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank;
357 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover;
H A Drs690.c253 rdev->mode_info.crtcs[0]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode1->crtc_hdisplay);
256 rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay);
310 b.full = dfixed_const(mode->crtc_hdisplay);
360 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
443 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
450 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) {
H A Datombios_crtc.c57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
61 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay;
62 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay;
65 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
66 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
68 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2);
69 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /
[all...]
H A Dradeon_cursor.c193 frame_end = crtc->x + crtc->mode.crtc_hdisplay;
H A Dradeon_legacy_crtc.c85 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
168 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
623 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
H A Drv515.c958 b.full = dfixed_const(mode->crtc_hdisplay);
1008 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
1062 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
1069 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) {
/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_modes.h209 * @crtc_hdisplay: hardware mode horizontal display size
321 u16 crtc_hdisplay; member in struct:drm_display_mode
/openbsd-current/sys/dev/ic/
H A Ddwhdmi.c410 const uint16_t inhactiv = mode->crtc_hdisplay;
411 const uint16_t inhblank = mode->crtc_htotal - mode->crtc_hdisplay;
414 const uint16_t hsyncindelay = mode->crtc_hsync_start - mode->crtc_hdisplay;
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_modes.c1324 *hdisplay = adjusted.crtc_hdisplay;
1350 p->crtc_hdisplay = p->hdisplay;
1403 p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1010 else if (state->crtc_x + state->crtc_w > new_crtc_state->mode.crtc_hdisplay)
1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x;

Completed in 448 milliseconds

12