@@ -1485,6 +1485,9 @@ struct intel_vbt_data {
const u8 *sequence[MIPI_SEQ_MAX];
} dsi;
+ /* HPD as wakesoure for DC9 BXT */
+ bool hpd_wakeup_enabled;
+
int crt_ddc_pin;
int child_dev_num;
@@ -529,6 +529,12 @@ parse_driver_features(struct drm_i915_private *dev_priv,
if (driver->lvds_config == BDB_DRIVER_FEATURE_EDP)
dev_priv->vbt.edp.support = 1;
+ if (driver->hpd_wakeup_source) {
+ dev_priv->vbt.hpd_wakeup_enabled = true;
+ DRM_DEBUG_KMS("HPD as wakeup feature is enabled\n");
+ } else
+ DRM_DEBUG_KMS("HPD wakeup source feature is disabled in VBT\n");
+
DRM_DEBUG_KMS("DRRS State Enabled:%d\n", driver->drrs_enabled);
/*
* If DRRS is not supported, drrs_type has to be set to 0.
@@ -547,7 +547,8 @@ struct bdb_driver_features {
u16 tbt_enabled:1;
u16 psr_enabled:1;
u16 ips_enabled:1;
- u16 reserved3:4;
+ u16 reserved3:3;
+ u16 hpd_wakeup_source:1;
u16 pc_feature_valid:1;
} __packed;