]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: toggle PHY clock gating around link training
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 25 Jul 2018 00:28:13 +0000 (17:28 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 25 Jul 2018 20:45:26 +0000 (13:45 -0700)
commitbc334d914eeee02eddefd7be533acafd9a042ade
tree7c97e1333ee1caed6129c34c9ebb2d935fac9e4c
parent340a44bef2342b0ff7334017e9e821645fa8ae43
drm/i915/icl: toggle PHY clock gating around link training

The Gen11 TypeC PHY DDI Buffer chapter, PHY Clock Gating Programming
section says that PHY clock gating should be disabled before starting
voltage swing programming, then enabled after any link training is
complete.

v2: Simple rebase.

Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> (v1)
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180725002813.6938-6-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h