[kernel] Linux v3.9-9409-g8665218

Josh Boyer jwboyer at fedoraproject.org
Sat May 4 11:50:45 UTC 2013


commit a93604a9ba97f2e19f62f7a17d77fd9161793869
Author: Josh Boyer <jwboyer at redhat.com>
Date:   Fri May 3 15:59:37 2013 -0400

    Linux v3.9-9409-g8665218

 ...i915-revert-eDP-bpp-clamping-code-changes.patch |   56 ++++++++++++++++++++
 config-armv7-generic                               |    1 +
 config-generic                                     |    1 +
 kernel.spec                                        |   11 ++++-
 sources                                            |    2 +-
 5 files changed, 69 insertions(+), 2 deletions(-)
---
diff --git a/0001-Revert-drm-i915-revert-eDP-bpp-clamping-code-changes.patch b/0001-Revert-drm-i915-revert-eDP-bpp-clamping-code-changes.patch
new file mode 100644
index 0000000..1b37e38
--- /dev/null
+++ b/0001-Revert-drm-i915-revert-eDP-bpp-clamping-code-changes.patch
@@ -0,0 +1,56 @@
+From 883e2c26855e19e19bfb985221ae5a09db26a1c4 Mon Sep 17 00:00:00 2001
+From: Josh Boyer <jwboyer at obiwan.gha.chartermi.net>
+Date: Fri, 3 May 2013 17:10:32 -0400
+Subject: [PATCH] Revert "drm/i915: revert eDP bpp clamping code changes"
+
+This reverts commit 57c219633275c7e7413f8bc7be250dc092887458.
+---
+ drivers/gpu/drm/i915/intel_dp.c | 18 ++++--------------
+ 1 file changed, 4 insertions(+), 14 deletions(-)
+
+diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
+index fb2fbc1..e0ee2ca 100644
+--- a/drivers/gpu/drm/i915/intel_dp.c
++++ b/drivers/gpu/drm/i915/intel_dp.c
+@@ -702,6 +702,9 @@ intel_dp_compute_config(struct intel_encoder *encoder,
+ 	/* Walk through all bpp values. Luckily they're all nicely spaced with 2
+ 	 * bpc in between. */
+ 	bpp = min_t(int, 8*3, pipe_config->pipe_bpp);
++	if (is_edp(intel_dp) && dev_priv->edp.bpp)
++		bpp = min_t(int, bpp, dev_priv->edp.bpp);
++
+ 	for (; bpp >= 6*3; bpp -= 2*3) {
+ 		mode_rate = intel_dp_link_required(target_clock, bpp);
+ 
+@@ -739,6 +742,7 @@ found:
+ 	intel_dp->link_bw = bws[clock];
+ 	intel_dp->lane_count = lane_count;
+ 	adjusted_mode->clock = drm_dp_bw_code_to_link_rate(intel_dp->link_bw);
++	pipe_config->pipe_bpp = bpp;
+ 	pipe_config->pixel_target_clock = target_clock;
+ 
+ 	DRM_DEBUG_KMS("DP link bw %02x lane count %d clock %d bpp %d\n",
+@@ -751,20 +755,6 @@ found:
+ 			       target_clock, adjusted_mode->clock,
+ 			       &pipe_config->dp_m_n);
+ 
+-	/*
+-	 * XXX: We have a strange regression where using the vbt edp bpp value
+-	 * for the link bw computation results in black screens, the panel only
+-	 * works when we do the computation at the usual 24bpp (but still
+-	 * requires us to use 18bpp). Until that's fully debugged, stay
+-	 * bug-for-bug compatible with the old code.
+-	 */
+-	if (is_edp(intel_dp) && dev_priv->edp.bpp) {
+-		DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n",
+-			      bpp, dev_priv->edp.bpp);
+-		bpp = min_t(int, bpp, dev_priv->edp.bpp);
+-	}
+-	pipe_config->pipe_bpp = bpp;
+-
+ 	return true;
+ }
+ 
+-- 
+1.8.2.1
+
diff --git a/config-armv7-generic b/config-armv7-generic
index 79b1534..2d9d3a2 100644
--- a/config-armv7-generic
+++ b/config-armv7-generic
@@ -37,6 +37,7 @@ CONFIG_ARM_ARCH_TIMER=y
 CONFIG_ARCH_HAS_TICK_BROADCAST=y
 CONFIG_ALWAYS_USE_PERSISTENT_CLOCK=y
 
+# CONFIG_MCPM is not set
 # CONFIG_OABI_COMPAT is not set
 # CONFIG_FPE_NWFPE is not set
 # CONFIG_FPE_FASTFPE is not set
diff --git a/config-generic b/config-generic
index db33c9c..a06775f 100644
--- a/config-generic
+++ b/config-generic
@@ -4623,6 +4623,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
 # CONFIG_RCU_TORTURE_TEST is not set
 # CONFIG_RCU_TRACE is not set
 # CONFIG_RCU_CPU_STALL_INFO is not set
+# CONFIG_RCU_USER_QS is not set
 CONFIG_SPARSE_RCU_POINTER=y
 
 CONFIG_KSM=y
diff --git a/kernel.spec b/kernel.spec
index aa0d4df..377aa3d 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -95,7 +95,7 @@ Summary: The Linux kernel
 # The rc snapshot level
 %define rcrev 0
 # The git snapshot level
-%define gitrev 14
+%define gitrev 15
 # Set rpm version accordingly
 %define rpmversion 3.%{upstream_sublevel}.0
 %endif
@@ -736,6 +736,9 @@ Patch23006: fix-child-thread-introspection.patch
 
 Patch25014: blkcg-fix-scheduling-while-atomic-in-blk_queue_bypass_start.patch
 
+# Fix i915 on Macbook Pro 10,2 machines
+Patch25015: 0001-Revert-drm-i915-revert-eDP-bpp-clamping-code-changes.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1418,6 +1421,9 @@ ApplyPatch fix-child-thread-introspection.patch
 
 ApplyPatch blkcg-fix-scheduling-while-atomic-in-blk_queue_bypass_start.patch
 
+# Fix i915 on Macbook Pro 10,2 machines
+ApplyPatch 0001-Revert-drm-i915-revert-eDP-bpp-clamping-code-changes.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2243,6 +2249,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Fri May 03 2013 Josh Boyer <jwboyer at redhat.com> - 3.10.0-0.rc0.git15.1
+- Linux v3.9-9409-g8665218
+
 * Fri May 03 2013 Josh Boyer <jwboyer at redhat.com> - 3.10.0-0.rc0.git14.1
 - Linux v3.9-8933-gce85722
 
diff --git a/sources b/sources
index e8daff0..1c6eba0 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 4348c9b6b2eb3144d601e87c19d5d909  linux-3.9.tar.xz
-0d6c4fbc1b63eecefb91835ff0630fc8  patch-3.9-git14.xz
+a5282f8a4ee06cd17ca593bf5d58a282  patch-3.9-git15.xz


More information about the scm-commits mailing list