drm/i915: Simplify PIPESRC_ERLY_TPT definition
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 May 2024 13:56:13 +0000 (16:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 May 2024 12:45:34 +0000 (15:45 +0300)
commit04c09e4b879b225f3747606bcfc97d00d82d800f
tree5e2881342b999c1a97a09f1756b9ac307cd282a7
parent199bc8c175d712be1610dcad7f7240ad5c864281
drm/i915: Simplify PIPESRC_ERLY_TPT definition

PIPESRC_ERLY_TPT is a pipe register, and it lives in the 0x70000 range.
so using _MMIO_TRANS2() for it is not really correct. Also since this
is a pipe register, and not present on CHV, the registers will be
equally spaced out, so we can use the simpler _MMIO_PIPE() instead
of _MMIO_PIPE2().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240516135622.3498-5-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_cursor.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr_regs.h