@@ -1151,6 +1151,8 @@ struct intel_vbt_data {
int drrs_mode;
/* DRRS enabled or disabled in VBT */
bool intel_drrs_enabled;
+ /* Dynamic media refresh rate enable/disable */
+ bool intel_dmrrs_enabled;
/* eDP */
int edp_rate;
@@ -510,7 +510,9 @@ parse_driver_features(struct drm_i915_private *dev_priv,
dev_priv->render_reclock_avail = true;
dev_priv->vbt.intel_drrs_enabled = driver->intel_drrs_state;
- DRM_DEBUG_KMS("DRRS State Enabled : %d\n", driver->intel_drrs_state);
+ dev_priv->vbt.intel_dmrrs_enabled = driver->dmrrs_state;
+ DRM_DEBUG_KMS("DRRS State Enabled : %d DMRRS: %d\n",
+ driver->intel_drrs_state, driver->dmrrs_state);
}
static void
@@ -489,7 +489,9 @@ struct bdb_driver_features {
u16 intel_tbt_state:1;
u16 psr_state:1;
u16 ips_state:1;
- u16 reserved3:4;
+ u16 dfps_state:1;
+ u16 dmrrs_state:1;
+ u16 reserved3:2;
u16 pc_feature_validity:1;
} __attribute__((packed));