drm/i915: Add separate define for SEL_FETCH_CUR_CTL()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 May 2024 17:14:59 +0000 (20:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 May 2024 12:45:34 +0000 (15:45 +0300)
commit199bc8c175d712be1610dcad7f7240ad5c864281
tree9a824a7a03c8666ff6f5cece2c96c309cfc0a7a9
parent9cad70a9401f4d962e1baa9d607a291bfdc8f010
drm/i915: Add separate define for SEL_FETCH_CUR_CTL()

Split the cursor stuff from the rest of the selective fetch
plane registers so that we can collect all cursor registers
in intel_cursor_regs.h. Also take the opportunity to rename
the registers to match the spec.

v2: Pass the correct register offset fpr pipe B (Jani)
    s/mtl+/tgl+/ as that's where this was introduced
    Drop the bogus SEL_FETCH_CUR_CTL_ENABLE bit, the contents
    actually match the normal CUR_CTL register

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