OSDN Git Service

drm/i915/dg2: Add vswing programming for SNPS phys
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 23 Jul 2021 17:42:34 +0000 (10:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 29 Jul 2021 16:07:05 +0000 (09:07 -0700)
commita046a0daa3c6855d63fdf108919bb9666ba96c82
tree9d159cb3b535aa20a5160976807207f82db7b2e3
parent865b73ea18bbbb4da4be61186354aaca89d31303
drm/i915/dg2: Add vswing programming for SNPS phys

Vswing programming for SNPS PHYs is just a single step -- look up the
value that corresponds to the voltage level from a table and program it
into the SNPS_PHY_TX_EQ register.

Bspec: 53920
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723174239.1551352-26-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_snps_phy.c
drivers/gpu/drm/i915/display/intel_snps_phy.h
drivers/gpu/drm/i915/i915_reg.h