[PATCH 0/4] Get EDID late for VGA switcheroo

From: Ramkumar Ramachandra
Date: Tue Jan 07 2014 - 04:58:44 EST


Hi,

VGA switcheroo doesn't work on my 2013 MBP, and I'm trying to fix
it. From what I've gathered from previous patches, it seems that the
EDID is not computed at boottime, because LVDS isn't connected to the
i915 card (and is connected to the nouveau card instead). So, here's a
series to get switcheroo-reprobe to call get-edid. I think it's a step
in the right direction, although I think more stuff is required to fix
the issue.

Disclaimer: The series might be utter rubbish, because this is my
first attempt at any driver code.

Thanks.

Cc: Andreas Heider <andreas@xxxxxxxx>
Cc: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>

Ramkumar Ramachandra (4):
drm/i915: add support for vga_switcheroo reprobe
drm/i915: factor out intel_lvds_get_edid()
drm/i915: prepare intel_lvds_get_edid() for multiple calls
drm/i915: check LVDS for EDID on GPU switches

drivers/gpu/drm/i915/i915_dma.c | 9 ++-
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_lvds.c | 112 +++++++++++++++++++++++---------------
4 files changed, 78 insertions(+), 45 deletions(-)

--
1.8.5.2.229.g4448466

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/