diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-06-20 21:00:31 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-06-20 21:00:31 +0200 |
commit | 93f8d223fc495badc84a98bb11d826c0c1b3f9cb (patch) | |
tree | 323f7dedf386299199958b6ba328e208067b4011 /0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch | |
parent | b983da8fef8cbe53af0ecb4271910055fa456498 (diff) | |
download | kernel-93f8d223fc495badc84a98bb11d826c0c1b3f9cb.tar.gz kernel-93f8d223fc495badc84a98bb11d826c0c1b3f9cb.tar.xz kernel-93f8d223fc495badc84a98bb11d826c0c1b3f9cb.zip |
Bring in patch-series from drm-next to fix skl_update_other_pipe_wm issues
(rhbz 1305038)
- Cherry pick some other drm / kms fixes from upstream
Diffstat (limited to '0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch')
-rw-r--r-- | 0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch b/0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch new file mode 100644 index 000000000..d95f2f4d0 --- /dev/null +++ b/0005-i915-fbc-Disable-on-HSW-by-default-for-now.patch @@ -0,0 +1,55 @@ +From 28d0147bded959b2c4d3eb1aa957452d5dbb0cc9 Mon Sep 17 00:00:00 2001 +From: Fedora Kernel Team <kernel-team@fedoraproject.org> +Date: Mon, 20 Jun 2016 14:52:10 +0200 +Subject: [PATCH 5/6] i915/fbc: Disable on HSW by default for now + +Upstream: posted on dri-devel (and r-b'd) + +Author: cpaul@redhat.com <cpaul@redhat.com> +AuthorDate: Thu Jun 9 11:58:15 2016 -0400 +Commit: Rob Clark <rclark@redhat.com> +CommitDate: Thu Jun 9 15:43:07 2016 -0400 + + i915/fbc: Disable on HSW by default for now + + >From https://bugs.freedesktop.org/show_bug.cgi?id=96461 : + + This was kind of a difficult bug to track down. If you're using a + Haswell system running GNOME and you have fbc completely enabled and + working, playing videos can result in video artifacts. Steps to + reproduce: + + - Run GNOME + - Ensure FBC is enabled and active + - Download a movie, I used the ogg version of Big Buck Bunny for this + - Run `gst-launch-1.0 filesrc location='some_movie.ogg' ! decodebin ! + glimagesink` in a terminal + - Watch for about over a minute, you'll see small horizontal lines go + down the screen. + + For the time being, disable FBC for Haswell by default. + + Signed-off-by: Lyude <cpaul@redhat.com> + Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> + Cc: stable@vger.kernel.org +--- + drivers/gpu/drm/i915/intel_fbc.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c +index 0f0492f..28f4407 100644 +--- a/drivers/gpu/drm/i915/intel_fbc.c ++++ b/drivers/gpu/drm/i915/intel_fbc.c +@@ -823,8 +823,7 @@ static bool intel_fbc_can_choose(struct intel_crtc *crtc) + { + struct drm_i915_private *dev_priv = crtc->base.dev->dev_private; + struct intel_fbc *fbc = &dev_priv->fbc; +- bool enable_by_default = IS_HASWELL(dev_priv) || +- IS_BROADWELL(dev_priv); ++ bool enable_by_default = IS_BROADWELL(dev_priv); + + if (intel_vgpu_active(dev_priv->dev)) { + fbc->no_fbc_reason = "VGPU is active"; +-- +2.7.4 + |