diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-24 10:24:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-24 14:22:11 +0100 |
commit | 5ceb0f9bb7bde101d8b07cb803002591dcb8c804 (patch) | |
tree | 018ff025a3f5de220ead3b53254c397825be1de3 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 270eea0fd71ae95654606ff7448f195fa22d12c5 (diff) | |
download | lwn-5ceb0f9bb7bde101d8b07cb803002591dcb8c804.tar.gz lwn-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.h | 13 |
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; |