]> www.infradead.org Git - users/hch/configfs.git/commit
drm/i915: Switch PIPE_CRC_RES_*_IVB to _MMIO_PIPE()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2024 11:53:37 +0000 (14:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Jun 2024 09:46:34 +0000 (12:46 +0300)
commit1c1bfd8b0b7ccf1d82b531875f13e35d7f96e086
tree209c06f0c0abfac96ca01effbc56c6032cbad7f3
parentccb6ba9eba6f267e4ca3689152ddedb6351f673b
drm/i915: Switch PIPE_CRC_RES_*_IVB to _MMIO_PIPE()

PIPE_CRC_RES_*_IVB are proper pipe registers, and only valid
for IVB+ where pipe register blocks are equally spaced, so we
can switch from _MMIO_TRANS2() to the simpler _MMIO_PIPE() for
these.

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