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 | # The rc snapshot level | ||||||
| %define rcrev 4 | %define rcrev 4 | ||||||
| # The git snapshot level | # The git snapshot level | ||||||
| %define gitrev 2 | %define gitrev 3 | ||||||
| # Set rpm version accordingly | # Set rpm version accordingly | ||||||
| %define rpmversion 4.%{upstream_sublevel}.0 | %define rpmversion 4.%{upstream_sublevel}.0 | ||||||
| %endif | %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 | 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 | 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 | # END OF PATCH DEFINITIONS | ||||||
| 
 | 
 | ||||||
| %endif | %endif | ||||||
| @ -2155,6 +2152,9 @@ fi | |||||||
| # | # | ||||||
| #  | #  | ||||||
| %changelog | %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 | * Thu Jun 23 2016 Laura Abbott <labbott@redhat.com> - 4.7.0-0.rc4.git2.1 | ||||||
| - Linux v4.7-rc4-20-gf9020d1 | - Linux v4.7-rc4-20-gf9020d1 | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								sources
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								sources
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | |||||||
| d2927020e24a76da4ab482a8bc3e9ef3  linux-4.6.tar.xz | d2927020e24a76da4ab482a8bc3e9ef3  linux-4.6.tar.xz | ||||||
| fd23b14b9d474c3dfacb6e8ee82d3a51  perf-man-4.6.tar.gz | fd23b14b9d474c3dfacb6e8ee82d3a51  perf-man-4.6.tar.gz | ||||||
| bee81c135f2a8d4bfac7910eac744980  patch-4.7-rc4.xz | bee81c135f2a8d4bfac7910eac744980  patch-4.7-rc4.xz | ||||||
| 2e7f29b82b9982272a280569e3ea0dd6  patch-4.7-rc4-git2.xz | 4ed9a7b05aa3a9b9a4ea4e6cb9de5d50  patch-4.7-rc4-git3.xz | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user