drm/i915: remove unused dev_priv->render_reclock_avail
authorJani Nikula <jani.nikula@intel.com>
Thu, 24 Mar 2016 15:50:23 +0000 (17:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 29 Mar 2016 12:12:40 +0000 (15:12 +0300)
Set from VBT, but never used. Good riddance.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458834623-8734-5-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c

index bf867e28731d56987badd035073188f9c907d0f4..0906dfd7b1a986748f85412f5ab35d8ef6b0a0e6 100644 (file)
@@ -1844,9 +1844,6 @@ struct drm_i915_private {
 
        struct i915_workarounds workarounds;
 
-       /* Reclocking support */
-       bool render_reclock_avail;
-
        struct i915_frontbuffer_tracking fb_tracking;
 
        u16 orig_clock;
index 407fb7a12a498cc858c89269ff3c557984732567..9c406b0f4173bd0507d9cc08be84fbc6658d8a24 100644 (file)
@@ -529,9 +529,6 @@ 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->dual_frequency)
-               dev_priv->render_reclock_avail = true;
-
        DRM_DEBUG_KMS("DRRS State Enabled:%d\n", driver->drrs_enabled);
        /*
         * If DRRS is not supported, drrs_type has to be set to 0.