FAILED: patch "[PATCH] drm/i915/fbc: Disable on HSW by default for now" failed to apply to 4.7-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.7-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
c7f7e2feffb0294302041507dfd5fc15f01afcccMon Sep 17 00:00:00 2001
From: Lyude <[email protected]>
Date: Thu, 9 Jun 2016 11:58:15 -0400
Subject: [PATCH] drm/i915/fbc: Disable on HSW by default for now
Quoted 1 line
Quoted 1 line
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.
Stefan Richter reported kernel freezes (no video artifacts) when fbc is on. (E3-1245 v3 with HD P4600; openbox and some KDE and LXDE applications, thread begins at https://lkml.org/lkml/2016/4/26/813).
We also got reports from Steven Honeyman on openbox+roxterm.
v2 (From Paulo):
- Add extra information to the commit message
- Add Fixes tag
- Rebase
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96461
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96464
drivers/gpu/drm/i915/intel_fbc.c +1 -2
@@ -818,8 +818,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)) { fbc->no_fbc_reason ="VGPU is active" ;