]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Feb 2019 16:35:08 +0000 (18:35 +0200)
commit9659c1af451a92533d2d8dfcecd1a848a08a883b
tree5d952b1eb73f8e4329ca9214701c58830e779ad1
parentd13937116f1e82bf508a6325111b322c30c85eb9
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
(cherry picked from commit b265a2a6255f581258ccfdccbd2efca51a142fe2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c