Home
last modified time | relevance | path

Searched refs:vactive (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/sys/dev/videomode/
H A Dedid.c385 unsigned vactive, vblank, vsyncwid, vsyncoff; in edid_det_timing()
402 vactive = EDID_DET_TIMING_VACTIVE(data); in edid_block()
414 vmp->vdisplay = vactive; in edid_block()
415 vmp->vtotal = vactive + vblank; in edid_block()
416 vmp->vsync_start = vactive + vsyncoff; in edid_block()
345 unsigned vactive, vblank, vsyncwid, vsyncoff; edid_det_timing() local
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_crt.c701 u32 vtotal, vactive; in intel_crt_load_detect() local
715 vactive = REG_FIELD_GET(VACTIVE_MASK, save_vtotal) + 1; in intel_crt_load_detect()
746 if (vblank_start <= vactive && vblank_end >= vtotal) { in intel_crt_load_detect()
757 if (vblank_start - vactive >= vtotal - vblank_end) in intel_crt_load_detect()
758 vsample = (vblank_start + vactive) >> 1; in intel_crt_load_detect()
765 while (intel_de_read(dev_priv, PIPEDSL(pipe)) >= vactive) in intel_crt_load_detect()
H A Dintel_hdmi.h60 int intel_hdmi_dsc_get_slice_height(int vactive);
H A Dicl_dsi.c851 u16 vtotal, vactive, vsync_start, vsync_end, vsync_shift; in gen11_dsi_set_transcoder_timings() local
879 vactive = adjusted_mode->crtc_vdisplay; in gen11_dsi_set_transcoder_timings()
893 vtotal = vactive + DIV_ROUND_UP(400, line_time_us); in gen11_dsi_set_transcoder_timings()
956 VACTIVE(vactive - 1) | VTOTAL(vtotal - 1)); in gen11_dsi_set_transcoder_timings()
962 if (vsync_start < vactive) in gen11_dsi_set_transcoder_timings()
998 VBLANK_START(vactive - 1) | VBLANK_END(vtotal - 1)); in gen11_dsi_set_transcoder_timings()
H A Dintel_vbt_defs.h1042 u16 vactive; member
H A Dintel_hdmi.c3109 int intel_hdmi_dsc_get_slice_height(int vactive) in intel_hdmi_dsc_get_slice_height() argument
3120 for (slice_height = 96; slice_height <= vactive; slice_height += 2) in intel_hdmi_dsc_get_slice_height()
3121 if (vactive % slice_height == 0) in intel_hdmi_dsc_get_slice_height()
H A Dintel_dp.c1560 static int intel_dp_get_slice_height(int vactive) in intel_dp_get_slice_height() argument
1570 for (slice_height = 108; slice_height <= vactive; slice_height += 2) in intel_dp_get_slice_height()
1571 if (vactive % slice_height == 0) in intel_dp_get_slice_height()
2827 int vactive = crtc_state->hw.adjusted_mode.vdisplay; in intel_dp_pcon_dsc_enc_slice_height() local
2829 return intel_hdmi_dsc_get_slice_height(vactive); in intel_dp_pcon_dsc_enc_slice_height()
H A Dintel_bios.c973 panel_fixed_mode->vdisplay = dtd->vactive; in parse_generic_dtd()
/openbsd-src/sys/dev/fdt/
H A Drkvop.c415 u_int vactive = adjusted_mode->vdisplay; in rkvop_crtc_enable()
479 DSP_VACT_END_POST(vsync_len + vback_porch + vactive); in rkvop_crtc_enable()
483 DSP_VACT_END(vsync_len + vback_porch + vactive); in rkvop_crtc_enable()
487 DSP_VS_END(vsync_len + vback_porch + vactive + vfront_porch); in rkvop_crtc_enable()
420 u_int vactive = adjusted_mode->vdisplay; rkvop_crtc_enable() local
/openbsd-src/sys/dev/pci/drm/include/drm/
H A Ddrm_displayid.h120 u8 vactive[2]; member
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_modes.c330 unsigned int vactive, in fill_analog_mode() argument
350 hactive, vactive, in fill_analog_mode()
486 porches = params->num_lines - vactive - vslen; in fill_analog_mode()
496 vtotal = vactive + vfp + vslen + vbp; in fill_analog_mode()
503 mode->vdisplay = vactive; in fill_analog_mode()
1076 dmode->vdisplay = vm->vactive; in drm_display_mode_from_videomode()
1117 vm->vactive = dmode->vdisplay; in drm_display_mode_to_videomode()
1204 np, vm.hactive, vm.vactive); in of_get_drm_display_mode()
H A Ddrm_edid.c3481 unsigned vactive = (pt->vactive_vblank_hi & 0xf0) << 4 | pt->vactive_lo; in drm_mode_detailed() local
3490 if (hactive < 64 || vactive < 64) in drm_mode_detailed()
3511 mode = drm_cvt_mode(dev, hactive, vactive, 60, true, false, false); in drm_mode_detailed()
3532 mode->vdisplay = vactive; in drm_mode_detailed()
6680 unsigned vactive = (timings->vactive[0] | timings->vactive[1] << 8) + 1; in drm_mode_displayid_detailed() local
6698 mode->vdisplay = vactive; in drm_mode_displayid_detailed()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h520 unsigned int vactive; member
H A Ddisplay_mode_lib.c231 dml_print("DML PARAMS: vactive = %d\n", pipe_dest->vactive); in dml_log_pipe_params()
H A Ddisplay_mode_vba.c618 mode_lib->vba.VActive[mode_lib->vba.NumberOfActivePlanes] = dst->vactive; in fetch_pipe_params()
/openbsd-src/sys/dev/pci/bktr/
H A Dbktr_reg.h426 int vtotal, vdelay, vactive; member
H A Dbktr_core.c1681 bktr->format_params].vactive; in video_ioctl()
3260 (((fp->vactive * 256 + (bktr->rows/2)) / bktr->rows) - 512); in build_dma_prog()
3263 (((fp->vactive * 512 + (bktr->rows / 2)) / bktr->rows) - 512); in build_dma_prog()
3281 temp = fp->vactive; in build_dma_prog()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/dcn314/
H A Ddcn314_fpu.c340 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive; in dcn314_populate_dml_pipes_from_context_fpu()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/inc/
H A Ddcn_calcs.h179 float vactive[number_of_planes_minus_one + 1]; member
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c422 input->dest.vactive = pipe->stream->timing.v_addressable + pipe->stream->timing.v_border_top in pipe_ctx_to_e2e_pipe_params()
907 v->vactive[input_idx] = pipe->stream->timing.v_addressable + in dcn_validate_bandwidth()
910 - v->vactive[input_idx] in dcn_validate_bandwidth()
H A Ddcn_calc_auto.c795 v->maximum_vstartup = v->vtotal[k] - v->vactive[k] - 1.0; in mode_support_and_system_configuration()
1393 v->v_blank_time = (v->vtotal[k] - v->vactive[k]) * v->htotal[k] / v->pixel_clock[k]; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
1626 v->max_vstartup_lines[k] = v->vtotal[k] - v->vactive[k] - 1.0; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1396 pipes[pipe_cnt].pipe.dest.vactive = in dcn20_populate_dml_pipes_from_context()