added a test patch

This commit is contained in:
Alex Burmashev 2013-12-20 13:06:11 +04:00
parent af1a69734e
commit 2853f15894
2 changed files with 18 additions and 1 deletions

View file

@ -1,5 +1,5 @@
sources:
linux-3.10.19-rosa666.tar.xz: 994d7df779ee717d99b80df213b1a6cccd6607d8
linux-3.10.19-rosa666.tar.xz: ec1d42e5d22414a98d11611484e6c5fa3ee5693c
linux-3.10.tar.sign: 3d28ba603aca8015c1f5a3eca799fc849a576ac8
linux-3.10.tar.xz: a649d5c15f68ccbae1c4863e357bdc48da4cc0b4
patch-3.10.19.bz2: 11762d1c92b60b35779f3931460dc8cb817729c9

View file

@ -0,0 +1,17 @@
diff -Nur linux-3.10.old/drivers/gpu/drm/i915/intel_dp.c linux-3.10/drivers/gpu/drm/i915/intel_dp.c
--- linux-3.10.old/drivers/gpu/drm/i915/intel_dp.c 2013-07-01 02:13:29.000000000 +0400
+++ linux-3.10/drivers/gpu/drm/i915/intel_dp.c 2013-12-20 12:56:08.972821208 +0400
@@ -702,8 +702,11 @@
/* 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);
+ if (is_edp(intel_dp) && dev_priv->edp.bpp) {
+ // bpp = min_t(int, bpp, dev_priv->edp.bpp);
+ printk("BPPHACK - pipe_config->pipe_bpp: %d, dev_priv->edp.bpp: %d\n", pipe_config->pipe_bpp, dev_priv->edp.bpp);
+ }
+
for (; bpp >= 6*3; bpp -= 2*3) {
mode_rate = intel_dp_link_required(target_clock, bpp);