drm/i915/icl+: Sanitize port to PLL mapping
authorImre Deak <imre.deak@intel.com>
Thu, 1 Nov 2018 14:04:27 +0000 (16:04 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 1 Nov 2018 23:24:04 +0000 (01:24 +0200)
commit70332ac539c5c5dffede580fe8986dcfc0751d55
tree6b93c6b1cafff107835758025fa1e3c45ae3684b
parentc7375d9542f121049ff90562c5828e5843747c9a
drm/i915/icl+: Sanitize port to PLL mapping

BIOS can leave the PLL to port mapping enabled, even if the
corresponding encoder is disabled. Disable the port mapping in this
case.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101140427.31026-9-imre.deak@intel.com
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h