From 0d26d950fdada1f59dc6cb31fe2f03004825f773 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 7 Sep 2010 13:46:58 -0700 Subject: [PATCH] KMS: add fake EDID on eDP too This gives us a few more standard modes on eDP panels with just a simple fixed timing in the VBT, just like on older, LVDS attached panels. Fixes FDO bug https://bugs.freedesktop.org/show_bug.cgi?id=30069. Reviewed-by: Chris Wilson Tested-by: Manoj Iyer Signed-off-by: Jesse Barnes --- src/intel_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel_display.c b/src/intel_display.c index e65df6e1..20c51649 100644 --- a/src/intel_display.c +++ b/src/intel_display.c @@ -820,7 +820,8 @@ intel_output_get_modes(xf86OutputPtr output) * If it is incorrect, please fix me. */ intel_output->has_lvds_limits = FALSE; - if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS) { + if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS || + koutput->connector_type == DRM_MODE_CONNECTOR_eDP) { for (i = 0; i < koutput->count_modes; i++) { drmModeModeInfo *mode_ptr;