]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop unused _PORT3 and _PORT4 TC phy register offsets
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 05:16:00 +0000 (21:16 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 22:03:26 +0000 (14:03 -0800)
commit20f3a2e5f6ac76ec0928a1935ba873c3f29f2efb
treec0de6d3b5e56f669b5bf04a4c5ef08a77d9eb67b
parenta21132dbcfe9818fdb260fd2220ff659bb7c959a
drm/i915: Drop unused _PORT3 and _PORT4 TC phy register offsets

All MG/DKL PHY register regions are evenly spaced offset-wise (0x168000,
0x169000, 0x16A000, 0x16B000) so the _MMIO_PORT() macro we use to access
their registers only needs the first two offsets.  We can drop the
_PORT3 and _PORT4 offsets which are never directly referenced.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220111051600.3429104-12-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_tc_phy_regs.h