summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson2010-09-24 11:24:28 +0200
committerChris Wilson2010-09-24 15:22:11 +0200
commit5ceb0f9bb7bde101d8b07cb803002591dcb8c804 (patch)
tree018ff025a3f5de220ead3b53254c397825be1de3 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/lvds: Use the GMBUS pin if specified in VBT (diff)
downloadkernel-qcow2-linux-5ceb0f9bb7bde101d8b07cb803002591dcb8c804.tar.gz
kernel-qcow2-linux-5ceb0f9bb7bde101d8b07cb803002591dcb8c804.tar.xz
kernel-qcow2-linux-5ceb0f9bb7bde101d8b07cb803002591dcb8c804.zip
drm/i915: Parse the eDP link configuration from the vBIOS
First step, lets have a look at the values for troublesome panels and see if they may be used to improve our link training. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 6aa34317dcbf..cbfb99dce6aa 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -338,9 +338,18 @@ typedef struct drm_i915_private {
unsigned int lvds_vbt:1;
unsigned int int_crt_support:1;
unsigned int lvds_use_ssc:1;
- unsigned int edp_support:1;
int lvds_ssc_freq;
- int edp_bpp;
+
+ struct {
+ u8 rate:4;
+ u8 lanes:4;
+ u8 preemphasis:4;
+ u8 vswing:4;
+
+ u8 initialized:1;
+ u8 support:1;
+ u8 bpp:6;
+ } edp;
struct notifier_block lid_notifier;