drm/i915/gen9_bc: Add W/A for missing STRAP config on TGP PCH + CML combos
authorLyude Paul <lyude@redhat.com>
Tue, 9 Feb 2021 20:11:09 +0000 (15:11 -0500)
committerLyude Paul <lyude@redhat.com>
Fri, 12 Feb 2021 21:43:41 +0000 (16:43 -0500)
commit70da7521e11939ebf2e3d2b4cd91d30d0d02e3c4
tree7cc356379912d1f35e3ff34bd2c1486a9a9f827d
parentc8455098c67914c59d07f01819469e2e6f76f358
drm/i915/gen9_bc: Add W/A for missing STRAP config on TGP PCH + CML combos

Apparently the new gen9_bc platforms that Intel has introduced don't
provide us with a STRAP config register to read from for initializing DDI
B, C, and D detection. So, workaround this by hard-coding our strap config
in intel_setup_outputs().

Changes since v4:
* Split this into it's own commit

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
[originally from Tejas's work]
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209212832.1401815-5-lyude@redhat.com
drivers/gpu/drm/i915/display/intel_display.c