/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_panel.c | 403 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 D | vlv_dsi.c | 1047 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 D | dvo_ivch.c | 418 if (mode->hdisplay != adjusted_mode->crtc_hdisplay || 425 (adjusted_mode->crtc_hdisplay - 1)) >> 2;
|
H A D | icl_dsi.c | 303 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 D | intel_fbdev.c | 500 cur_size = crtc_state->uapi.adjusted_mode.crtc_hdisplay; 517 crtc_state->uapi.adjusted_mode.crtc_hdisplay,
|
H A D | intel_psr.c | 965 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 D | intel_crtc_state_dump.c | 22 mode->crtc_hdisplay, mode->crtc_hblank_start, mode->crtc_hblank_end,
|
H A D | intel_dvo.c | 313 DVO_SRCDIM_HORIZONTAL(adjusted_mode->crtc_hdisplay) |
|
H A D | dvo_ns2501.c | 577 adjusted_mode->crtc_hdisplay,
|
H A D | intel_dp.c | 1734 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 D | amdgpu_atombios_crtc.c | 57 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 D | amdgpu_encoders.c | 192 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 D | dce_v11_0.c | 638 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 D | dce_v10_0.c | 606 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 D | dce_v8_0.c | 547 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 D | radeon_encoders.c | 352 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 D | rs690.c | 253 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 D | atombios_crtc.c | 57 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 D | radeon_cursor.c | 193 frame_end = crtc->x + crtc->mode.crtc_hdisplay;
|
H A D | radeon_legacy_crtc.c | 85 | ((((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 D | rv515.c | 958 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 D | drm_modes.h | 209 * @crtc_hdisplay: hardware mode horizontal display size 321 u16 crtc_hdisplay; member in struct:drm_display_mode
|
/openbsd-current/sys/dev/ic/ |
H A D | dwhdmi.c | 410 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 D | drm_modes.c | 1324 *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 D | amdgpu_dm_plane.c | 1010 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;
|