]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: combo port vswing programming changes per BSPEC
authorClint Taylor <clinton.a.taylor@intel.com>
Mon, 17 Dec 2018 22:13:47 +0000 (14:13 -0800)
committerImre Deak <imre.deak@intel.com>
Tue, 18 Dec 2018 14:00:16 +0000 (16:00 +0200)
commit051975529cfd2d9bd9dc685e591652c11037f285
treeca6c18e330f342c3a92cfca69a75a4e16c5cc503
parent80bc7463acccd2bc472fa69e26ab7e0fab4a35ac
drm/i915/icl: combo port vswing programming changes per BSPEC

In August 2018 the BSPEC changed the ICL port programming sequence to
closely resemble earlier gen programming sequence. Restrict combo phy to
HBR max rate unless eDP panel is connected to port.

v2: remove debug code that Imre found
v3: simplify translation table if-else
v4: edp translation table now based on link rate and low_swing
v5: Misc review comments + r-b
BSpec: 21257
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1545084827-5776-1-git-send-email-clinton.a.taylor@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c