drm/i915/gen12: Update combo PHY init sequence
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 21 Feb 2023 20:18:36 +0000 (12:18 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 27 Feb 2023 17:14:57 +0000 (09:14 -0800)
commit5767dc9e2df70550552c856ebc4b8467767661f6
tree9e2c52217d477431542d7561d4e8328c83a899c8
parentc6a53c90e3be8b7e745a46c941631d0855648313
drm/i915/gen12: Update combo PHY init sequence

The bspec was updated with a minor change to the 'DCC mode select'
setting to be programmed during combo PHY initialization.

v2:
 - Keep the opencoded rmw behavior instead of switching to
   intel_de_rmw().  We need to read from a _LN register, but write to
   the _GRP register to update all lanes.

Bspec: 49291
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230221201836.2886794-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_combo_phy.c
drivers/gpu/drm/i915/display/intel_combo_phy_regs.h