diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2012-05-09 15:37:21 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-19 22:39:48 +0200 |
commit | c82e4d265d98aed94547435605b5e05f8aae9676 (patch) | |
tree | 17669fca135527db282179b89d0925b8bbfec6c6 /drivers/gpu/drm/i915/intel_display.c | |
parent | 45244b87943b1173353b48854352bb9f4b065867 (diff) | |
download | lwn-c82e4d265d98aed94547435605b5e05f8aae9676.tar.gz lwn-c82e4d265d98aed94547435605b5e05f8aae9676.zip |
drm/i915: support DDI training in FDI mode
Starting with Haswell, DDI ports can work in FDI mode to support
connectivity with the outputs located on the PCH.
This commit adds support for such connections in the intel_ddi module, and
provides Haswell-specific functionality to make it work.
v2: simplify the commit as per Daniel Vetter suggestion.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 096a1b1eaf46..3edf8f6ce2f4 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -6607,6 +6607,8 @@ static void intel_init_display(struct drm_device *dev) /* FIXME: detect B0+ stepping and use auto training */ dev_priv->display.fdi_link_train = ivb_manual_fdi_link_train; dev_priv->display.write_eld = ironlake_write_eld; + } else if (IS_HASWELL(dev)) { + dev_priv->display.fdi_link_train = hsw_fdi_link_train; } else dev_priv->display.update_wm = NULL; } else if (IS_VALLEYVIEW(dev)) { |