summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2019-03-20 14:54:38 +0100
committerImre Deak <imre.deak@intel.com>2019-04-03 17:58:14 +0200
commit2b21dfbeee725778daed2c3dd45a3fc808176feb (patch)
tree758b4c310d2144a92fb3841f65890b6074054e09 /drivers/gpu/drm/i915/intel_display.c
parentdrm/i915: Save the old CDCLK atomic state (diff)
downloadlinux-2b21dfbeee725778daed2c3dd45a3fc808176feb.tar.xz
linux-2b21dfbeee725778daed2c3dd45a3fc808176feb.zip
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: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190320135439.12201-3-imre.deak@intel.com
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 702d28459bee..1a3d370a36b1 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -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",
intel_state->cdclk.logical.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);