rpms/kernel/F-13 drm-i915-fix-edp-panels.patch, NONE, 1.1 kernel.spec, 1.2072, 1.2073

Dave Airlie airlied at fedoraproject.org
Fri Jun 25 06:39:55 UTC 2010


Author: airlied

Update of /cvs/pkgs/rpms/kernel/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15730

Modified Files:
	kernel.spec 
Added Files:
	drm-i915-fix-edp-panels.patch 
Log Message:
* Fri Jun 25 2010 Dave Airlie <airlied at redhat.com> 2.6.33.5-136
- i915: fix edp on a number of notebooks (including whot's one)


drm-i915-fix-edp-panels.patch:
 intel_dp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE drm-i915-fix-edp-panels.patch ---
diff -up linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_dp.c.dave linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_dp.c
--- linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_dp.c.dave	2010-06-25 16:30:13.000000000 +1000
+++ linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_dp.c	2010-06-25 16:30:23.000000000 +1000
@@ -129,7 +129,7 @@ intel_dp_link_required(struct drm_device
 	struct drm_i915_private *dev_priv = dev->dev_private;
 
 	if (IS_eDP(intel_encoder))
-		return (pixel_clock * dev_priv->edp_bpp) / 8;
+		return (pixel_clock * ALIGN(dev_priv->edp_bpp, 8)) / 8;
 	else
 		return pixel_clock * 3;
 }


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-13/kernel.spec,v
retrieving revision 1.2072
retrieving revision 1.2073
diff -u -p -r1.2072 -r1.2073
--- kernel.spec	25 Jun 2010 06:32:38 -0000	1.2072
+++ kernel.spec	25 Jun 2010 06:39:55 -0000	1.2073
@@ -749,6 +749,7 @@ Patch1830: drm-intel-sdvo-fix-2.patch
 # from 2.6.33.5
 Patch1840: drm-i915-use-pipe_control-instruction-on-ironlake-and-sandy-bridge.patch
 Patch1841: drm-i915-fix-non-ironlake-965-class-crashes.patch
+Patch1842: drm-i915-fix-edp-panels.patch
 
 Patch2100: linux-2.6-phylib-autoload.patch
 
@@ -1489,6 +1490,7 @@ ApplyPatch drm-intel-sdvo-fix-2.patch
 # from 2.6.33.5
 ApplyPatch drm-i915-use-pipe_control-instruction-on-ironlake-and-sandy-bridge.patch
 ApplyPatch drm-i915-fix-non-ironlake-965-class-crashes.patch
+ApplyPatch drm-i915-fix-edp-panels.patch
 
 ApplyPatch linux-2.6-phylib-autoload.patch
 
@@ -2237,6 +2239,9 @@ fi
 # and build.
 
 %changelog
+* Fri Jun 25 2010 Dave Airlie <airlied at redhat.com> 2.6.33.5-136
+- i915: fix edp on a number of notebooks (including whot's one)
+
 * Fri Jun 25 2010 Ben Skeggs <bskeggs at redhat.com> 2.6.33.5-135
 - nouveau: backport important fixes from upstream
 - Fixes unPOSTed detection + support nv4x multi-card (rhbz#607190)



More information about the scm-commits mailing list