HomeSort by: relevance | last modified time | path
    Searched refs:vbt (Results 1 - 24 of 24) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_bios.c 46 * DOC: Video BIOS Table (VBT)
48 * The Video BIOS Table, or VBT, provides platform and board specific
51 * hardware. The VBT is available via the ACPI OpRegion or, on older systems, in
54 * The VBT consists of a VBT Header (defined as &struct vbt_header), a BDB
56 * contain the actual configuration information. The VBT Header, and thus the
57 * VBT, begins with "$VBT" signature. The VBT Header contains the offset of the
62 * The driver parses the VBT during load. The relevant information is stored i
1935 const struct vbt_header *vbt = buf; local in function:intel_bios_is_valid_vbt
2005 struct vbt_header *vbt; local in function:oprom_get_vbt
2074 const struct vbt_header *vbt = dev_priv->opregion.vbt; local in function:intel_bios_init
    [all...]
intel_dsi.c 125 orientation = dev_priv->vbt.dsi.orientation;
129 orientation = dev_priv->vbt.orientation;
intel_opregion.h 51 const void *vbt; member in struct:intel_opregion
intel_dsi_vbt.c 155 * parsed from Sequence Block#53 of VBT has been set to 0
157 * Port C will based on the DVO port from VBT block 2.
245 if (dev_priv->vbt.dsi.seq_version >= 3) {
282 if (dev_priv->vbt.dsi.seq_version >= 3) {
366 if (dev_priv->vbt.dsi.seq_version >= 3)
372 if (dev_priv->vbt.dsi.seq_version == 2)
544 * MIPI Sequence from VBT #53 parsing logic
578 if (WARN_ON(seq_id >= ARRAY_SIZE(dev_priv->vbt.dsi.sequence)))
581 data = dev_priv->vbt.dsi.sequence[seq_id];
594 if (dev_priv->vbt.dsi.seq_version >= 3
    [all...]
intel_psr.c 437 if (dev_priv->vbt.psr.tp1_wakeup_time_us == 0)
439 else if (dev_priv->vbt.psr.tp1_wakeup_time_us <= 100)
441 else if (dev_priv->vbt.psr.tp1_wakeup_time_us <= 500)
446 if (dev_priv->vbt.psr.tp2_tp3_wakeup_time_us == 0)
448 else if (dev_priv->vbt.psr.tp2_tp3_wakeup_time_us <= 100)
450 else if (dev_priv->vbt.psr.tp2_tp3_wakeup_time_us <= 500)
473 int idle_frames = max(6, dev_priv->vbt.psr.idle_frames);
506 int idle_frames = max(6, dev_priv->vbt.psr.idle_frames);
517 if (dev_priv->vbt.psr.psr2_tp2_tp3_wakeup_time_us >= 0 &&
518 dev_priv->vbt.psr.psr2_tp2_tp3_wakeup_time_us <= 50
    [all...]
intel_opregion.c 138 * address of raw VBT data. */
139 u32 rvds; /* Size of raw vbt data */
874 DRM_DEBUG_KMS("Falling back to manually reading VBT from "
903 DRM_ERROR("Requesting VBT firmware \"%s\" failed (%d)\n",
911 DRM_DEBUG_KMS("Found valid VBT firmware \"%s\"\n", name);
912 opregion->vbt = opregion->vbt_firmware;
919 DRM_DEBUG_KMS("Invalid VBT firmware \"%s\"\n", name);
936 const void *vbt; local in function:intel_opregion_setup
1017 * opregion 2.0: rvda is the physical VBT address.
1036 vbt = opregion->rvda
    [all...]
intel_dp_aux_backlight.c 108 * Set PWM Frequency divider to match desired frequency in vbt.
126 freq = dev_priv->vbt.backlight.pwm_freq_hz;
127 DRM_DEBUG_KMS("VBT defined backlight frequency %u Hz\n", freq);
158 DRM_DEBUG_KMS("VBT defined backlight frequency out of range\n");
277 dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE))
intel_dsi_dcs_backlight.c 171 if (dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS)
intel_combo_phy.c 273 bool ddi_a_present = i915->vbt.ddi_port_info[PORT_A].child != NULL;
274 bool ddi_d_present = i915->vbt.ddi_port_info[PORT_D].child != NULL;
278 * VBT's 'dvo port' field for child devices references the DDI, not
287 * If we encounter a VBT that claims to have an external display on
292 DRM_ERROR("VBT claims to have both internal and external displays on PHY A. Configuring for internal.\n");
323 * based on whether our VBT indicates the presence of any
intel_ddi.c 633 if (dev_priv->vbt.edp.low_vswing) {
675 if (dev_priv->vbt.edp.low_vswing) {
808 if (dev_priv->vbt.edp.low_vswing) {
870 if (dev_priv->vbt.edp.low_vswing) {
900 } else if (type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.low_vswing) {
911 struct ddi_vbt_port_info *port_info = &dev_priv->vbt.ddi_port_info[port];
989 dev_priv->vbt.ddi_port_info[port].dp_boost_level)
1023 dev_priv->vbt.ddi_port_info[port].hdmi_boost_level)
2308 iboost = dev_priv->vbt.ddi_port_info[port].hdmi_boost_level;
2310 iboost = dev_priv->vbt.ddi_port_info[port].dp_boost_level
    [all...]
intel_panel.c 160 if (!dev_priv->vbt.lfp_lvds_vbt_mode)
164 dev_priv->vbt.lfp_lvds_vbt_mode);
170 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] using mode from VBT: ",
1539 u16 pwm_freq_hz = dev_priv->vbt.backlight.pwm_freq_hz;
1548 DRM_DEBUG_KMS("VBT defined backlight frequency %u Hz\n",
1577 * XXX: If the vbt value is 255, it makes min equal to max, which leads
1579 * interpretation is wrong or the vbt has bogus data. Or both. Safeguard
1583 min = clamp_t(int, dev_priv->vbt.backlight.min_brightness, 0, 64);
1584 if (min != dev_priv->vbt.backlight.min_brightness) {
1585 DRM_DEBUG_KMS("clamping VBT min backlight %d/255 to %d/255\n"
    [all...]
intel_dp.c 333 &dev_priv->vbt.ddi_port_info[dig_port->base.port];
916 int backlight_controller = dev_priv->vbt.backlight.controller;
1945 /* Get bpp from vbt only for panels that dont have bpp in edid */
1947 dev_priv->vbt.edp.bpp && dev_priv->vbt.edp.bpp < bpp) {
1949 dev_priv->vbt.edp.bpp);
1950 bpp = dev_priv->vbt.edp.bpp;
3368 if (intel_dp_is_edp(intel_dp) && dev_priv->vbt.edp.bpp &&
3369 pipe_config->pipe_bpp > dev_priv->vbt.edp.bpp) {
3373 * Some machines in UEFI boot mode provide us a VBT that has 1
6786 struct edp_power_seq cur, vbt, spec, local in function:intel_dp_init_panel_power_sequencer
    [all...]
intel_lvds.c 796 * we need to check "the value to be set" in VBT when LVDS
805 val = dev_priv->vbt.bios_lvds_val;
835 WARN(!dev_priv->vbt.int_lvds_support,
836 "Useless DMI match. Internal LVDS support disabled by VBT\n");
840 if (!dev_priv->vbt.int_lvds_support) {
841 DRM_DEBUG_KMS("Internal LVDS support disabled by VBT\n");
860 DRM_DEBUG_KMS("LVDS is not present in VBT\n");
863 DRM_DEBUG_KMS("LVDS is not present in VBT, but enabled anyway\n");
932 * 2) check for VBT data
965 /* Failed to get EDID, what about VBT? *
    [all...]
intel_sdvo.c 1961 dev_priv->vbt.crt_ddc_pin));
2231 * Fetch modes from VBT. For SDVO prefer the VBT mode since some
2234 if (dev_priv->vbt.sdvo_lvds_vbt_mode != NULL) {
2236 dev_priv->vbt.sdvo_lvds_vbt_mode);
2543 mapping = &dev_priv->vbt.sdvo_mappings[0];
2545 mapping = &dev_priv->vbt.sdvo_mappings[1];
2561 mapping = &dev_priv->vbt.sdvo_mappings[0];
2563 mapping = &dev_priv->vbt.sdvo_mappings[1];
2601 my_mapping = &dev_priv->vbt.sdvo_mappings[0]
    [all...]
icl_dsi.c 886 * non-interlaced info from VBT is not saved inside
1059 /* panel power on related mipi dsi vbt sequences */
1568 struct mipi_config *mipi_config = dev_priv->vbt.dsi.config;
1753 if (dev_priv->vbt.dsi.config->dual_link)
1758 intel_dsi->dcs_backlight_ports = dev_priv->vbt.dsi.bl_ports;
1759 intel_dsi->dcs_cabc_ports = dev_priv->vbt.dsi.cabc_ports;
vlv_dsi.c 65 /* It just so happens the VBT matches register contents. */
708 * Panel enable/disable sequences from the VBT spec.
714 * Steps starting with MIPI refer to VBT sequences, note that for v2
715 * VBTs several steps which have a VBT in v2 are expected to be handled
1656 struct mipi_config *mipi_config = dev_priv->vbt.dsi.config;
1827 /* There is no detection method for MIPI so rely on VBT */
1881 if (dev_priv->vbt.dsi.config->dual_link)
1886 intel_dsi->dcs_backlight_ports = dev_priv->vbt.dsi.bl_ports;
1887 intel_dsi->dcs_cabc_ports = dev_priv->vbt.dsi.cabc_ports;
intel_crt.c 625 i2c = intel_gmbus_get_adapter(dev_priv, dev_priv->vbt.crt_ddc_pin);
903 i2c = intel_gmbus_get_adapter(dev_priv, dev_priv->vbt.crt_ddc_pin);
intel_display.c 8005 * There may be no VBT; and if the BIOS enabled SSC we can
8007 * BIOS isn't using it, don't assume it will work even if the VBT
8014 if (dev_priv->vbt.lvds_use_ssc != bios_lvds_use_ssc) {
8015 DRM_DEBUG_KMS("SSC %s by BIOS, overriding VBT which says %s\n",
8017 enableddisabled(dev_priv->vbt.lvds_use_ssc));
8018 dev_priv->vbt.lvds_use_ssc = bios_lvds_use_ssc;
8027 return dev_priv->vbt.lvds_use_ssc
8846 refclk = dev_priv->vbt.lvds_ssc_freq;
8881 refclk = dev_priv->vbt.lvds_ssc_freq;
8924 refclk = dev_priv->vbt.lvds_ssc_freq
    [all...]
intel_hdmi.c 2099 &dev_priv->vbt.ddi_port_info[encoder->port];
2534 * The only method left to us is to check the VBT to see
2546 DRM_DEBUG_KMS("Assuming DP dual mode adaptor presence based on VBT\n");
3071 &dev_priv->vbt.ddi_port_info[port];
3075 DRM_DEBUG_KMS("Using DDC pin 0x%x for port %c (VBT)\n",
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
opregion.c 34 * Note: Only for GVT-g virtual VBT generation, other usage must
121 struct vbt { struct
141 static void virt_vbt_generation(struct vbt *v)
145 memset(v, 0, sizeof(struct vbt));
155 v->header.vbt_size = sizeof(struct vbt) - sizeof(v->header);
156 v->header.bdb_offset = offsetof(struct vbt, bdb_header);
162 v->bdb_header.bdb_size = sizeof(struct vbt) - sizeof(struct vbt_header)
230 struct vbt v;
242 /* emulated opregion with VBT mailbox only */
257 /* emulated vbt from virt vbt generation *
    [all...]
  /src/sys/external/gpl2/dts/dist/include/dt-bindings/usb/
pd.h 352 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \
356 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_debugfs.c 1428 if (opregion->vbt)
1429 seq_write(m, opregion->vbt, opregion->vbt_size);
2928 if (dev_priv->vbt.drrs_type == STATIC_DRRS_SUPPORT)
2930 else if (dev_priv->vbt.drrs_type == SEAMLESS_DRRS_SUPPORT)
2932 else if (dev_priv->vbt.drrs_type == DRRS_NOT_SUPPORTED)
2978 /* DRRS not supported. Print the VBT parameter*/
i915_drv.h 656 int dp_max_link_rate; /* 0 for not limited by VBT */
1007 struct intel_vbt_data vbt; member in struct:drm_i915_private
intel_pm.c 6446 if (dev_priv->vbt.fdi_rx_polarity_inverted)

Completed in 52 milliseconds