seq_printf(m, "%s:\n", connector->name);
if (connector->connector_type == DRM_MODE_CONNECTOR_eDP &&
- drrs->type == DRRS_TYPE_SEAMLESS)
+ dev_priv->vbt.drrs_type == DRRS_TYPE_SEAMLESS)
supported = true;
seq_printf(m, "\tDRRS Supported: %s\n", str_yes_no(supported));
return false;
return connector->panel.downclock_mode &&
- i915->drrs.type == DRRS_TYPE_SEAMLESS;
+ i915->vbt.drrs_type == DRRS_TYPE_SEAMLESS;
}
void
return;
}
- if (dev_priv->drrs.type != DRRS_TYPE_SEAMLESS) {
+ if (dev_priv->vbt.drrs_type != DRRS_TYPE_SEAMLESS) {
drm_dbg_kms(&dev_priv->drm, "Only Seamless DRRS supported.\n");
return;
}
{
struct drm_i915_private *dev_priv = dp_to_i915(intel_dp);
- if (dev_priv->drrs.type != DRRS_TYPE_SEAMLESS)
+ if (dev_priv->vbt.drrs_type != DRRS_TYPE_SEAMLESS)
return;
mutex_lock(&dev_priv->drrs.mutex);
struct drm_crtc *crtc;
enum pipe pipe;
- if (dev_priv->drrs.type != DRRS_TYPE_SEAMLESS)
+ if (dev_priv->vbt.drrs_type != DRRS_TYPE_SEAMLESS)
return;
cancel_delayed_work(&dev_priv->drrs.work);
return NULL;
}
- dev_priv->drrs.type = dev_priv->vbt.drrs_type;
-
dev_priv->drrs.refresh_rate = DRRS_REFRESH_RATE_HIGH;
drm_dbg_kms(&dev_priv->drm,
"[CONNECTOR:%d:%s] seamless DRRS supported\n",