diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-11-23 20:48:44 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-30 19:36:53 -0500 |
commit | 6363ee6f496eb7e3b3f78dc105e522c7b496089b (patch) | |
tree | 238a22cf4e317645bc77a62ff828e15b27d5ce7b /drivers/gpu/drm/i915/i915_drv.h | |
parent | c1b5dea097258b3d3d570d5ccc8f4bf5accb3f29 (diff) |
drm/i915: parse child device from VBT
On some laptops there is no HDMI/DP. But the xrandr still reports
several disconnected HDMI/display ports. In such case the user will be
confused.
>DVI1 disconnected (normal left inverted right x axis y axis)
>DP1 disconnected (normal left inverted right x axis y axis)
>DVI2 disconnected (normal left inverted right x axis y axis)
>DP2 disconnected (normal left inverted right x axis y axis)
>DP3 disconnected (normal left inverted right x axis y axis)
This patch set is to use the child device parsed in VBT to decide whether
the HDMI/DP/LVDS/TV should be initialized.
Parse the child device from VBT.
The device class type is also added for LFP, TV, HDMI, DP output.
https://bugs.freedesktop.org/show_bug.cgi?id=22785
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 13ede75ff6ce..cc91cff8871c 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -545,6 +545,8 @@ typedef struct drm_i915_private { | |||
545 | struct timer_list idle_timer; | 545 | struct timer_list idle_timer; |
546 | bool busy; | 546 | bool busy; |
547 | u16 orig_clock; | 547 | u16 orig_clock; |
548 | int child_dev_num; | ||
549 | struct child_device_config *child_dev; | ||
548 | } drm_i915_private_t; | 550 | } drm_i915_private_t; |
549 | 551 | ||
550 | /** driver private structure attached to each drm_gem_object */ | 552 | /** driver private structure attached to each drm_gem_object */ |