drm/i915/tgl: skip setting PORT_CL_DW12_* on initialization
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 13 Jul 2019 01:09:19 +0000 (18:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 26 Jul 2019 22:02:17 +0000 (15:02 -0700)
commit98a5c2a3582a86d5acdcdeabbe0e6278e712201e
tree69a3b06d302a0a3eaf1f0befbe66bfff59108e1f
parent08f0e4a7ecb9e20f27b9d410bcba84e662fffe3b
drm/i915/tgl: skip setting PORT_CL_DW12_* on initialization

According to the spec when initializing the display in TGL we should not
set PORT_CL_DW12 for the Aux channel of the combo PHYs. We will re-use the
power well hooks from ICL so only set this register on gen < 12.

v2: Generalize check for gen 12 (suggested by José)
v3: Rebase after enum phy introduction

Cc: Imre Deak <imre.deak@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190713010940.17711-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c