Commit 2b21dfbe authored by Imre Deak's avatar Imre Deak

drm/i915: Remove redundant store of logical CDCLK state

We copied the original state into the atomic state already earlier in
the function, so no need to do it a second time.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190320135439.12201-3-imre.deak@intel.com
parent 48d9f87d
...@@ -13051,8 +13051,6 @@ static int intel_modeset_checks(struct drm_atomic_state *state) ...@@ -13051,8 +13051,6 @@ static int intel_modeset_checks(struct drm_atomic_state *state)
DRM_DEBUG_KMS("New voltage level calculated to be logical %u, actual %u\n", DRM_DEBUG_KMS("New voltage level calculated to be logical %u, actual %u\n",
intel_state->cdclk.logical.voltage_level, intel_state->cdclk.logical.voltage_level,
intel_state->cdclk.actual.voltage_level); intel_state->cdclk.actual.voltage_level);
} else {
to_intel_atomic_state(state)->cdclk.logical = dev_priv->cdclk.logical;
} }
intel_modeset_clear_plls(state); intel_modeset_clear_plls(state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment