]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Ensure port A combo PHY HW state is correct
authorImre Deak <imre.deak@intel.com>
Fri, 31 May 2019 08:26:26 +0000 (11:26 +0300)
committerImre Deak <imre.deak@intel.com>
Sat, 1 Jun 2019 15:15:37 +0000 (18:15 +0300)
commit3e13dddb572bff21151dae92342ca284d4bc2e18
treecc923b5a3eb5bddbd47a78860e198a8f56fb799d
parent4c61d3127d1f719d10f31f2b3495447b7c71ee63
drm/i915/icl: Ensure port A combo PHY HW state is correct

Make sure the HW state of the port A combo PHY is correct wrt. the
IREFGEN setting. This will force a reprogramming during init or a WARN
during uninit if the setting is incorrect.

On my ICL RVP I haven't seen this check failing and leading to a forced
reinit/WARN, but let's add it still for consistency.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190531082626.30640-1-imre.deak@intel.com
drivers/gpu/drm/i915/intel_combo_phy.c