diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-02-15 17:21:37 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-02-16 11:27:47 +0200 |
commit | 8aeaf64c96a8698f05664a8726337855a4d4fdf2 (patch) | |
tree | 4964407aabbeb84c491b94256a581c8b7088f191 /drivers/gpu/drm/i915/intel_pm.c | |
parent | 06a20d2d2d4187b9bc1a4c2f62e989a97a086a76 (diff) | |
download | op-kernel-dev-8aeaf64c96a8698f05664a8726337855a4d4fdf2.zip op-kernel-dev-8aeaf64c96a8698f05664a8726337855a4d4fdf2.tar.gz |
drm/i915/bxt: apply clock gating workaround to all revisions
No need to cater for old A revisions.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487172099-24873-2-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 3d311e1..fe243c6 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -99,9 +99,8 @@ static void bxt_init_clock_gating(struct drm_i915_private *dev_priv) * Wa: Backlight PWM may stop in the asserted state, causing backlight * to stay fully on. */ - if (IS_BXT_REVID(dev_priv, BXT_REVID_B0, REVID_FOREVER)) - I915_WRITE(GEN9_CLKGATE_DIS_0, I915_READ(GEN9_CLKGATE_DIS_0) | - PWM1_GATING_DIS | PWM2_GATING_DIS); + I915_WRITE(GEN9_CLKGATE_DIS_0, I915_READ(GEN9_CLKGATE_DIS_0) | + PWM1_GATING_DIS | PWM2_GATING_DIS); } static void glk_init_clock_gating(struct drm_i915_private *dev_priv) |