linux/drivers/gpu/drm/i915
Zhao Yakui e99da35f06 drm/i915: Check the LID device to decide whether the LVDS should be initialized
On some boxes the mobile chipset is used and there is no LVDS device. In such
case we had better not initialize the LVDS output device so that one pipe can
be used for other output device. For example: E-TOP.

But unfortunately the LVDS device is still initialized on the boxes based on
mobile chipset in KMS mode. It brings that this pipe occupied by LVDS can't be
used for other output device.

After checking the acpidump we find that there is no LID device on such boxes.
In such case we can use the LID device to decide whether the LVDS device should
be initialized.

If there is no LID device, we can think that there is no LVDS device. It is
unnecessary to initialize the LVDS output device.
If there exists the LID device, it will continue the current flowchart.

Maybe on some boxes there is no LVDS device but the LID device is found. In
such case it should be added to the quirk list.

http://bugs.freedesktop.org/show_bug.cgi?id=21496
http://bugs.freedesktop.org/show_bug.cgi?id=21856
http://bugs.freedesktop.org/show_bug.cgi?id=21127

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[anholt: squashed in style fixups]
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-07-09 15:56:34 -07:00
..
dvo_ch7xxx.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ch7017.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ivch.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_sil164.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_tfp410.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo.h drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
i915_dma.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
i915_drv.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
i915_drv.h drm/i915: Remove gtt_bound from drm_i915_gem_object 2009-07-07 11:52:21 -07:00
i915_gem_debug.c drm/i915: Catch up to obj_priv->page_list rename in disabled debug code. 2009-06-22 20:19:39 -07:00
i915_gem_debugfs.c drm/i915: Move lock to more reasonable location 2009-07-07 11:52:52 -07:00
i915_gem_tiling.c drm/i915: check for CONFIG_PNP before using pnp function 2009-06-18 14:59:11 -07:00
i915_gem.c drm/i915: initialize fence registers to zero when loading GEM 2009-06-23 09:22:11 -07:00
i915_ioc32.c
i915_irq.c drm/i915: add FIFO watermark support 2009-07-01 11:16:09 -07:00
i915_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915_opregion.c ACPI: Add the reference count to avoid unloading ACPI video bus twice 2009-06-23 23:38:41 -04:00
i915_reg.h drm/i915: add FIFO watermark support 2009-07-01 11:16:09 -07:00
i915_suspend.c drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_bios.c drm/i915: Set SSC frequency for 8xx chips correctly 2009-07-01 11:20:44 -07:00
intel_bios.h drm/i915: Add the structure of child_device_config in video BIOS tables. 2009-06-05 14:13:02 +00:00
intel_crt.c drm/i915: Disable VGA output when doing DRM_MODE_DPMS_OFF. 2009-07-07 11:49:01 -07:00
intel_display.c drm/i915: Adjust DisplayPort clocks to use 96MHz reference 2009-07-02 16:15:01 -07:00
intel_dp_i2c.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_dp.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_dp.h drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_drv.h drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_dvo.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_fb.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_hdmi.c drm/i915: Fix HDMI regression introduced in new chipset support 2009-06-22 20:49:57 -07:00
intel_i2c.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_lvds.c drm/i915: Check the LID device to decide whether the LVDS should be initialized 2009-07-09 15:56:34 -07:00
intel_modes.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_sdvo_regs.h drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_sdvo.c drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_tv.c drm/i915: set TV detection mode when tv is already connected 2009-06-22 20:27:47 -07:00
Makefile drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00