]> 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)
commitccb4faf864b10dba438680f82d94770b8688a47e
treebb1864b61219dd901fe1dee76ee9aae4eb207132
parentf8c086159d6d1dd59460146f30090febe1d9d513
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