drm/i915: Don't register the CRT connector when it's fused off on LPT-H
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Dec 2015 21:28:55 +0000 (23:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Dec 2015 09:23:32 +0000 (11:23 +0200)
commit65e472e43355488a4727db5dc9ce667d7d05b35e
treebc5ad65e2931f3edbfb7a3edb53a10d9b9a3f6e8
parent4e7f8cfbd22755844094caaac2d9f49d2b77fd8c
drm/i915: Don't register the CRT connector when it's fused off on LPT-H

LPT-H has a strap bit for fused off CRT block. Check it to see if
we should register the CRT connector or not. Supposedly this also
forces the ADAP enable bit to 0, so the detection we added in
commit 6c03a6bd0dd8 ("drm/i915: Don't register CRT connector when it's fused off")
should already catch it, but checking the fuse bit should at least
do no harm.

v2: Use HAS_PCH_LPT_H() (Paulo)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449005335-15192-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c