diff options
author | Marta Lofstedt | 2017-08-28 14:18:10 +0200 |
---|---|---|
committer | Ville Syrjälä | 2017-08-28 15:12:47 +0200 |
commit | 8bd719587d1215dad42d48d725eb1858987112c8 (patch) | |
tree | a67658ff869f690ec1724b7cc3d5375ca588fbe7 /drivers/gpu/drm/i915/intel_pipe_crc.c | |
parent | drm/i915/bios: amend edp block based on intel_vbt_decode (diff) | |
download | kernel-qcow2-linux-8bd719587d1215dad42d48d725eb1858987112c8.tar.gz kernel-qcow2-linux-8bd719587d1215dad42d48d725eb1858987112c8.tar.xz kernel-qcow2-linux-8bd719587d1215dad42d48d725eb1858987112c8.zip |
drm/i915: Beef up of Beef up the IPS vs. CRC workaround
Commit 6e644626945c ("drm/i915: Beef up the IPS vs. CRC
workaround") was supposed to solve below bug. However, the
patch I tested is not the same as the one that got merged.
With this addition the test pass.
V2: removed unused: "struct intel_crtc *intel_crtc"
Fixes: 6e644626945c ("drm/i915: Beef up the IPS vs. CRC workaround")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101664
Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170828121810.13112-1-marta.lofstedt@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pipe_crc.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pipe_crc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_pipe_crc.c b/drivers/gpu/drm/i915/intel_pipe_crc.c index 4e22bb927fed..96043a51c1bf 100644 --- a/drivers/gpu/drm/i915/intel_pipe_crc.c +++ b/drivers/gpu/drm/i915/intel_pipe_crc.c @@ -919,7 +919,6 @@ int intel_crtc_set_crc_source(struct drm_crtc *crtc, const char *source_name, { struct drm_i915_private *dev_priv = crtc->dev->dev_private; struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[crtc->index]; - struct intel_crtc *intel_crtc = to_intel_crtc(crtc); enum intel_display_power_domain power_domain; enum intel_pipe_crc_source source; u32 val = 0; /* shut up gcc */ @@ -951,8 +950,6 @@ int intel_crtc_set_crc_source(struct drm_crtc *crtc, const char *source_name, else if ((IS_HASWELL(dev_priv) || IS_BROADWELL(dev_priv)) && crtc->index == PIPE_A) hsw_pipe_A_crc_wa(dev_priv, false); - - hsw_enable_ips(intel_crtc); } pipe_crc->skipped = 0; |