]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c0ef589848b4285d35be42f58b00615063b63e2
tree69a3b06d302a0a3eaf1f0befbe66bfff59108e1f
parent63ac0cd9d834d14d5855e77cc8c0fc6db1340b54
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