kernel-fxtec-pro1x/drivers/gpu/drm/i915
Zhao Yakui cdaa052b05 drm/I915: Fix offset to DVO timings in LVDS data
Now the DVO timing in LVDS data entry is obtained by using the
following step:
    a. get the entry size for every LVDS panel data
    b. Get the LVDS fp entry for the preferred panel type
    c. get the DVO timing by using entry->dvo_timing

In our driver the entry->dvo_timing is related with the size of
lvds_fp_timing. For example: the size is 46.

But it seems that the size of lvds_fp_timing varies on the differnt
platform. In such case we will get the incorrect DVO timing entry
because of the incorrect DVO offset in LVDS panel data entry.
This also removes a hack on new IGDNG to get proper DVO timing.

Calculate the DVO timing offset in LVDS data entry to get the DVO timing
    a. get the DVO timing offset in the LVDS fp data entry by using the
pointer definition in LVDS data ptr
    b. get the LVDS data entry
    c. get the DVO timing by adding the DVO timing offset to data entry

https://bugs.freedesktop.org/show_bug.cgi?id=22787

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Tested-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-07-29 15:06:06 -07:00
..
dvo.h drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -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
i915_dma.c drm/i915: Disable GEM when a broken video BIOS takes up the whole aperture. 2009-07-10 12:29:33 -07:00
i915_drv.c drm/i915: Restore the KMS modeset for every activated CRTC 2009-07-10 12:36:11 -07:00
i915_drv.h drm/i915: refactor error detection & collection 2009-07-13 15:33:37 -07:00
i915_gem.c drm/i915: Zap the GTT mapping when transitioning from untiled to tiled. 2009-07-10 14:10:58 -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: refactor error detection & collection 2009-07-13 15:33:37 -07:00
i915_gem_tiling.c drm/i915: Zap the GTT mapping when transitioning from untiled to tiled. 2009-07-10 14:10:58 -07:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c drm/i915: refactor error detection & collection 2009-07-13 15:33:37 -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: FIFO watermark calculation fixes 2009-07-14 15:33:25 -07:00
i915_suspend.c drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode 2009-07-10 12:40:36 -07:00
intel_bios.c drm/I915: Fix offset to DVO timings in LVDS data 2009-07-29 15:06:06 -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: Fix harmless warning from patch merged after i2c rework. 2009-07-10 12:30:18 -07:00
intel_display.c drm/i915: correct self-refresh calculation in "everything off" case 2009-07-16 13:02:40 -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_dp_i2c.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -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: hdmi detection according by reading edid 2009-07-22 19:02:23 -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: ignore lvds on AOpen Mini PC MP-915 2009-07-13 16:09:11 -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.c drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_sdvo_regs.h 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