]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Define the PIPE_CRC_EXP registers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2024 11:53:41 +0000 (14:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Jun 2024 09:48:01 +0000 (12:48 +0300)
commitfddb9fa961a1ba5ddf0e076df3374137906ca48a
tree959aff6ef17c97cc5c8cda6e60079b5776487cf6
parent31951bbe3e9f9399bf903cc68a2c0c7eedbb26b7
drm/i915: Define the PIPE_CRC_EXP registers

I need a scratch register which fill the following requirements:
- can be accessed via DSB
- all the bits can be read/written
- no serious side effects

So far the only thing I could think of is the "expected CRC"
register. Add the definition so I can use it.

While I only need the hsw+ variant currently, let's define the
older variants as well for completeness.

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