提交 58334989 编写于 作者: J Jani Nikula

drm/i915: remove unused dev_priv->render_reclock_avail

Set from VBT, but never used. Good riddance.
Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: NJani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458834623-8734-5-git-send-email-jani.nikula@intel.com
上级 9d6c875d
...@@ -1844,9 +1844,6 @@ struct drm_i915_private { ...@@ -1844,9 +1844,6 @@ struct drm_i915_private {
struct i915_workarounds workarounds; struct i915_workarounds workarounds;
/* Reclocking support */
bool render_reclock_avail;
struct i915_frontbuffer_tracking fb_tracking; struct i915_frontbuffer_tracking fb_tracking;
u16 orig_clock; u16 orig_clock;
......
...@@ -529,9 +529,6 @@ parse_driver_features(struct drm_i915_private *dev_priv, ...@@ -529,9 +529,6 @@ parse_driver_features(struct drm_i915_private *dev_priv,
if (driver->lvds_config == BDB_DRIVER_FEATURE_EDP) if (driver->lvds_config == BDB_DRIVER_FEATURE_EDP)
dev_priv->vbt.edp.support = 1; dev_priv->vbt.edp.support = 1;
if (driver->dual_frequency)
dev_priv->render_reclock_avail = true;
DRM_DEBUG_KMS("DRRS State Enabled:%d\n", driver->drrs_enabled); DRM_DEBUG_KMS("DRRS State Enabled:%d\n", driver->drrs_enabled);
/* /*
* If DRRS is not supported, drrs_type has to be set to 0. * If DRRS is not supported, drrs_type has to be set to 0.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册