This is a note to let you know that I've just added the patch titled

    drm/nouveau/disp: fix dithering not being enabled on some eDP macbooks

to the 3.4-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-nouveau-disp-fix-dithering-not-being-enabled-on-some-edp-macbooks.patch
and it can be found in the queue-3.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From a6a17859f1bdf607650ee055101f54c5f207762b Mon Sep 17 00:00:00 2001
From: Ben Skeggs <[email protected]>
Date: Sat, 5 May 2012 00:39:21 +1000
Subject: drm/nouveau/disp: fix dithering not being enabled on some eDP macbooks

From: Ben Skeggs <[email protected]>

commit a6a17859f1bdf607650ee055101f54c5f207762b upstream.

Signed-off-by: Ben Skeggs <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/gpu/drm/nouveau/nouveau_connector.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -654,7 +654,13 @@ nouveau_connector_detect_depth(struct dr
        if (nv_connector->edid && connector->display_info.bpc)
                return;
 
-       /* if not, we're out of options unless we're LVDS, default to 8bpc */
+       /* EDID 1.4 is *supposed* to be supported on eDP, but, Apple... */
+       if (nv_connector->type == DCB_CONNECTOR_eDP) {
+               connector->display_info.bpc = 6;
+               return;
+       }
+
+       /* we're out of options unless we're LVDS, default to 8bpc */
        if (nv_encoder->dcb->type != OUTPUT_LVDS) {
                connector->display_info.bpc = 8;
                return;


Patches currently in stable-queue which might be from [email protected] are

queue-3.4/drm-nouveau-disp-fix-dithering-not-being-enabled-on-some-edp-macbooks.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to