From 7876c44c9e9633b7a8068bd2bc7c9111bfc98e21 Mon Sep 17 00:00:00 2001 From: "Brian J. Tarricone" Date: Thu, 8 Sep 2011 04:04:53 -0700 Subject: [PATCH] hack to get i915 driver working on macbook air 11" (mid-2011) see https://bugs.freedesktop.org/show_bug.cgi?id=39533#c28 --- drivers/gpu/drm/i915/intel_bios.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c index 61abef8..1d5e22b 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c @@ -218,6 +218,20 @@ parse_lfp_panel_data(struct drm_i915_private *dev_priv, dev_priv->lfp_lvds_vbt_mode = panel_fixed_mode; DRM_DEBUG_KMS("Found panel mode in BIOS VBT tables:\n"); + + panel_fixed_mode->hdisplay = 1366; + panel_fixed_mode->hsync_start = 1380; + panel_fixed_mode->hsync_end = 1436; + panel_fixed_mode->htotal = 1500; + panel_fixed_mode->vdisplay = 768; + panel_fixed_mode->vsync_start = 769; + panel_fixed_mode->vsync_end = 772; + panel_fixed_mode->vtotal = 800; + panel_fixed_mode->clock = 91540; + panel_fixed_mode->type = 0x48; + panel_fixed_mode->flags = 0xa; + drm_mode_set_name(panel_fixed_mode); + drm_mode_debug_printmodeline(panel_fixed_mode); /* -- 1.7.6