drm/i915/cnl: apply Display WA #1178 to fix type C dongles
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Nov 2017 22:05:53 +0000 (14:05 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 18 Jan 2018 19:45:08 +0000 (11:45 -0800)
commitddd39e4b3f8fb9b69c4dd41019cbe30b049af5ed
tree44ef6705ca8d52a0da5b84a2049892c09f12d3b7
parent1edf6958c195146973fd78c82fadea8330becfd0
drm/i915/cnl: apply Display WA #1178 to fix type C dongles

Display WA #1178 is meant to fix Aux channel voltage swing too low with
some type C dongles. Although it is for type C, HW engineers reported
that it can be applied to all external ports even if they are not going
to type C.

For CNL we apply the workaround every time Aux B, C and D are powering
up since they will lose the configuration when powered down.

v2: Use common tag for WA

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Arthur J Runyan <arthur.j.runyan@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171128220553.22435-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_runtime_pm.c