]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use the HDMI DDI buffer translations from VBT
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 12 Sep 2013 20:06:24 +0000 (17:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:04 +0000 (07:45 +0200)
commit919c1aa4d04cff851633632f36a17db6efe3b68b
tree5188dbc50100d835c23a9de44d64313c5a2cf5e5
parent53ab2be79565b09e768aed0b9327caf9040a0087
drm/i915: use the HDMI DDI buffer translations from VBT

We currently use the recommended values from BSpec, but the VBT
specifies the correct value to use for the hardware we have, so use
it. We also fall back to the recommended value in case we can't find
the VBT.

In addition, this code also provides some infrastructure to parse more
information about the DDI ports. There's a lot more information we
could extract and use in the future.

v2: - Move some code to init_vbt_defaults.
v3: - Rebase
    - Clarify the "DVO Port" matching code
v4: - Use I915_MAX_PORTS
    - Change the HAS_DDI checks
    - Replace DRM_ERROR with DRM_DEBUG_KMS

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h
drivers/gpu/drm/i915/intel_ddi.c