]> www.infradead.org Git - users/hch/misc.git/commit
drm/i915: Add a separate definition for PIPE_CRC_RES_HSW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2024 11:53:39 +0000 (14:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Jun 2024 09:46:59 +0000 (12:46 +0300)
commit7bd7cfa83359d7204b5c479f91f03bc153d69832
tree646516eec22677e5549ce9e5088c406d4bcf681c
parent1ec6defe71ee8ecab72399a29f258c12f826c8df
drm/i915: Add a separate definition for PIPE_CRC_RES_HSW

On hsw+ we only have one CRC result register, instead of the
five we have on ivb, and some of the others have been repurposed
to serve other CRC related purposes.

Since the hsw+ vs. pre-hsw register operate quite differently
let's add a separate definition for the hsw+ variant to make the
situation a bit more clear. Also since we only use this from a
hsw+ codepath there is no real benefit to be had with reusing
the ivb register definition.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240531115342.2763-5-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