summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-07-13 21:11:14 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-07-13 21:11:14 +0100
commit212fa9868767637e8f430485eeb522c99e63fd16 (patch)
treebf2a076e8884105e6374fe875fad8fb7128a305c
parent7a695c9f6b919eba8785d62094526762ba2a0449 (diff)
Disable adding normal RTF modes for an eDP
This is causing a hard hang with 2.6.39+, we don't know why so play safe and disable for the time being. References: https://bugs.freedesktop.org/show_bug.cgi?id=38012 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/intel_display.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index e75819d4..84c7c08c 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -693,8 +693,13 @@ intel_crtc_init(ScrnInfoPtr scrn, struct intel_mode *mode, int num)
static Bool
is_panel(int type)
{
+#if 0
+ /* XXX https://bugs.freedesktop.org/show_bug.cgi?id=38012 */
return (type == DRM_MODE_CONNECTOR_LVDS ||
- type == DRM_MODE_CONNECTOR_eDP);
+ type == DRM_MODE_CONNECTOR_eDP);
+#else
+ return type == DRM_MODE_CONNECTOR_LVDS;
+#endif
}
static xf86OutputStatus