Lines Matching full:edp
662 * to mean "eDP". The VBT spec doesn't agree with that in parse_driver_features()
727 dev_priv->vbt.edp.hobl = power->hobl & BIT(panel_type); in parse_power_conservation_features()
733 const struct bdb_edp *edp; in parse_edp() local
738 edp = find_section(bdb, BDB_EDP); in parse_edp()
739 if (!edp) in parse_edp()
742 switch ((edp->color_depth >> (panel_type * 2)) & 3) { in parse_edp()
744 dev_priv->vbt.edp.bpp = 18; in parse_edp()
747 dev_priv->vbt.edp.bpp = 24; in parse_edp()
750 dev_priv->vbt.edp.bpp = 30; in parse_edp()
754 /* Get the eDP sequencing and link info */ in parse_edp()
755 edp_pps = &edp->power_seqs[panel_type]; in parse_edp()
756 edp_link_params = &edp->fast_link_params[panel_type]; in parse_edp()
758 dev_priv->vbt.edp.pps = *edp_pps; in parse_edp()
762 dev_priv->vbt.edp.rate = DP_LINK_BW_1_62; in parse_edp()
765 dev_priv->vbt.edp.rate = DP_LINK_BW_2_7; in parse_edp()
769 "VBT has unknown eDP link rate value %u\n", in parse_edp()
776 dev_priv->vbt.edp.lanes = 1; in parse_edp()
779 dev_priv->vbt.edp.lanes = 2; in parse_edp()
782 dev_priv->vbt.edp.lanes = 4; in parse_edp()
786 "VBT has unknown eDP lane count value %u\n", in parse_edp()
793 dev_priv->vbt.edp.preemphasis = DP_TRAIN_PRE_EMPH_LEVEL_0; in parse_edp()
796 dev_priv->vbt.edp.preemphasis = DP_TRAIN_PRE_EMPH_LEVEL_1; in parse_edp()
799 dev_priv->vbt.edp.preemphasis = DP_TRAIN_PRE_EMPH_LEVEL_2; in parse_edp()
802 dev_priv->vbt.edp.preemphasis = DP_TRAIN_PRE_EMPH_LEVEL_3; in parse_edp()
806 "VBT has unknown eDP pre-emphasis value %u\n", in parse_edp()
813 dev_priv->vbt.edp.vswing = DP_TRAIN_VOLTAGE_SWING_LEVEL_0; in parse_edp()
816 dev_priv->vbt.edp.vswing = DP_TRAIN_VOLTAGE_SWING_LEVEL_1; in parse_edp()
819 dev_priv->vbt.edp.vswing = DP_TRAIN_VOLTAGE_SWING_LEVEL_2; in parse_edp()
822 dev_priv->vbt.edp.vswing = DP_TRAIN_VOLTAGE_SWING_LEVEL_3; in parse_edp()
826 "VBT has unknown eDP voltage swing value %u\n", in parse_edp()
836 dev_priv->vbt.edp.low_vswing = in parse_edp()
839 vswing = (edp->edp_vswing_preemph >> (panel_type * 4)) & 0xF; in parse_edp()
840 dev_priv->vbt.edp.low_vswing = vswing == 0; in parse_edp()
1736 … "Port %c VBT info: CRT:%d DVI:%d HDMI:%d DP:%d eDP:%d LSPCON:%d USB-Type-C:%d TBT:%d DSC:%d\n", in parse_ddi_port()
2361 * intel_bios_is_port_edp - is the device in given port eDP
2365 * Return true if the device in %port is eDP.
2539 * implementation should also use the DPCD (or perhaps VBT for eDP) in fill_dsc()