forked from rpms/kernel
		
	Linux v4.7-rc4-76-g63c04ee
This commit is contained in:
		
							parent
							
								
									6732fcc521
								
							
						
					
					
						commit
						6cf58f6d93
					
				| @ -1,55 +0,0 @@ | ||||
| From 0502ecec1ea91a205a0e7208334001f30664b526 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] 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 d5a7cfe..647127f 100644
 | ||||
| --- a/drivers/gpu/drm/i915/intel_fbc.c
 | ||||
| +++ b/drivers/gpu/drm/i915/intel_fbc.c
 | ||||
| @@ -824,8 +824,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 | ||||
| 
 | ||||
							
								
								
									
										2
									
								
								gitrev
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gitrev
									
									
									
									
									
								
							| @ -1 +1 @@ | ||||
| f9020d17416ae62f1b1c6459d61e65abb4af79b5 | ||||
| 63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2 | ||||
|  | ||||
| @ -69,7 +69,7 @@ Summary: The Linux kernel | ||||
| # The rc snapshot level | ||||
| %define rcrev 4 | ||||
| # The git snapshot level | ||||
| %define gitrev 2 | ||||
| %define gitrev 3 | ||||
| # Set rpm version accordingly | ||||
| %define rpmversion 4.%{upstream_sublevel}.0 | ||||
| %endif | ||||
| @ -627,9 +627,6 @@ Patch815: 0015-drm-i915-gen9-Calculate-watermarks-during-atomic-che.patch | ||||
| Patch816: 0016-drm-i915-gen9-Reject-display-updates-that-exceed-wm-.patch | ||||
| Patch817: 0017-drm-i915-Remove-wm_config-from-dev_priv-intel_atomic.patch | ||||
| 
 | ||||
| #other drm/kms fixes (most Cc-ed stable) | ||||
| Patch821: 0001-i915-fbc-Disable-on-HSW-by-default-for-now.patch | ||||
| 
 | ||||
| # END OF PATCH DEFINITIONS | ||||
| 
 | ||||
| %endif | ||||
| @ -2155,6 +2152,9 @@ fi | ||||
| # | ||||
| #  | ||||
| %changelog | ||||
| * Fri Jun 24 2016 Laura Abbott <labbott@redhat.com> - 4.7.0-0.rc4.git3.1 | ||||
| - Linux v4.7-rc4-76-g63c04ee | ||||
| 
 | ||||
| * Thu Jun 23 2016 Laura Abbott <labbott@redhat.com> - 4.7.0-0.rc4.git2.1 | ||||
| - Linux v4.7-rc4-20-gf9020d1 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user