OSDN Git Service

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)
commitb265a2a6255f581258ccfdccbd2efca51a142fe2
treeca6c18e330f342c3a92cfca69a75a4e16c5cc503
parent2c5c415c1df6bd244496e8b93b6393ad89b2403f
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