projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c75f33
)
drm/nouveau/disp: fix dithering not being enabled on some eDP macbooks
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 4 May 2012 14:39:21 +0000
(
00:39
+1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 24 May 2012 06:56:26 +0000
(16:56 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_connector.c
b/drivers/gpu/drm/nouveau/nouveau_connector.c
index
fa86035
..
7b11edb
100644
(file)
--- 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 drm_connector *connector)
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;