]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: check the DDC and AUX bits of the VBT on DDI machines
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 12 Sep 2013 20:07:55 +0000 (17:07 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:05 +0000 (07:45 +0200)
commit5318e88b396f040f96fe21839f486d0d117210ac
treebb1864b61219dd901fe1dee76ee9aae4eb207132
parent919c1aa4d04cff851633632f36a17db6efe3b68b
drm/i915: check the DDC and AUX bits of the VBT on DDI machines

Our code currently assumes that port X will use the DP AUX channel X
and the DDC pin X. The VBT should tell us how things are mapped, so
add some WARNs in case we discover our assumptions are wrong (or in
case the VBT is just wrong, which is also perfectly possible).

Why would someone wire port B to AUX C and DDC D?

v2: Rebase
v3: Convert WARNs to DRM_DEBUG_KMS

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_bios.c