diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-11-23 17:26:28 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-12-13 05:12:57 +0200 |
commit | 67eab12b8bcc80ec7b6f27a71bce82f9d706d109 (patch) | |
tree | 05fe9f7ef3d5fa2445adc63d989d2ca4e0d7abab | |
parent | 1867fcebd7a728d15a5c2352933d5731b0eca7f5 (diff) | |
download | linux-67eab12b8bcc80ec7b6f27a71bce82f9d706d109.tar.gz linux-67eab12b8bcc80ec7b6f27a71bce82f9d706d109.tar.bz2 linux-67eab12b8bcc80ec7b6f27a71bce82f9d706d109.zip |
drm/i915: Define skl+ palette anti-collision bit
I've been frobbing the palette anti-collision logic bit
while playing around with DSB. Not sure we'll have real
use for this but let's define the bit anyways so I don't
have to carry it around locally.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123152638.20622-4-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 6c91e42540cb..8685f3f4a213 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -5310,6 +5310,7 @@ #define GAMMA_MODE(pipe) _MMIO_PIPE(pipe, _GAMMA_MODE_A, _GAMMA_MODE_B) #define PRE_CSC_GAMMA_ENABLE REG_BIT(31) /* icl+ */ #define POST_CSC_GAMMA_ENABLE REG_BIT(30) /* icl+ */ +#define PALETTE_ANTICOL_DISABLE REG_BIT(15) /* skl+ */ #define GAMMA_MODE_MODE_MASK REG_GENMASK(1, 0) #define GAMMA_MODE_MODE_8BIT REG_FIELD_PREP(GAMMA_MODE_MODE_MASK, 0) #define GAMMA_MODE_MODE_10BIT REG_FIELD_PREP(GAMMA_MODE_MODE_MASK, 1) |