diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2009-08-29 08:54:45 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-08-29 18:23:40 -0700 |
commit | db54501900ad3665dd669f5708ecd04fc5aed495 (patch) | |
tree | 023eac651618698ab37f3e3112f957a07b6192eb /drivers/gpu/drm/i915/i915_drv.h | |
parent | a09ba7faf75fa4b21980d81de8e5f3d5c0785ccf (diff) | |
download | talos-op-linux-db54501900ad3665dd669f5708ecd04fc5aed495.tar.gz talos-op-linux-db54501900ad3665dd669f5708ecd04fc5aed495.zip |
drm/i915: Improve CRTDDC mapping by using VBT info
Use VBT information to determine which DDC bus to use for CRTDCC.
Fall back to GPIOA if VBT info is not available.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Tested on: 855 (David), and 945GM, 965GM, GM45, and G45 (anholt)
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 11fc4b66c889..5b4f87e55621 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -222,6 +222,7 @@ typedef struct drm_i915_private { unsigned int edp_support:1; int lvds_ssc_freq; + int crt_ddc_bus; /* -1 = unknown, else GPIO to use for CRT DDC */ struct drm_i915_fence_reg fence_regs[16]; /* assume 965 */ int fence_reg_start; /* 4 if userland hasn't ioctl'd us yet */ int num_fence_regs; /* 8 on pre-965, 16 otherwise */ |