mirror of https://gitee.com/openkylin/linux.git
drm/i915: Remove duplicate intel_uncore_forcewake_reset.
Since early sanitize and uncore sanitize are called one after the other, I think, we can remove second forcewake reset which was are calling twice in both the functions. Note that this is merge fallout between commitef46e0d247
Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Sat Nov 16 16:00:09 2013 +0100 drm/i915: restore the early forcewake cleanup and commit521198a2e7
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com> Date: Fri Aug 23 16:52:30 2013 +0300 drm/i915: sanitize forcewake registers on reset Signed-off-by: Deepak S <deepak.s@intel.com> [danvet: Explain how this came to be.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f7698ba75f
commit
c461562e84
|
@ -340,8 +340,6 @@ void intel_uncore_sanitize(struct drm_device *dev)
|
||||||
struct drm_i915_private *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
u32 reg_val;
|
u32 reg_val;
|
||||||
|
|
||||||
intel_uncore_forcewake_reset(dev);
|
|
||||||
|
|
||||||
/* BIOS often leaves RC6 enabled, but disable it for hw init */
|
/* BIOS often leaves RC6 enabled, but disable it for hw init */
|
||||||
intel_disable_gt_powersave(dev);
|
intel_disable_gt_powersave(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue