drm/i915/dsb: Don't use indexed writes when byte enables are not all set
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Jun 2023 19:14:52 +0000 (22:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Sep 2023 12:44:41 +0000 (15:44 +0300)
commit231b1d6c9ab6ff23f7a1826835946dd2b0f57156
tree211d563e46c3d7d735c5144a79f7303b1a3beeb6
parent088ca02108fcb75ae60a82f031a2f6aea731c818
drm/i915/dsb: Don't use indexed writes when byte enables are not all set

The indexed write instruction doesn't support byte-enables, so
if the non-indexed write used those we must not convert it to
an indexed write.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230606191504.18099-8-ville.syrjala@linux.intel.com
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
drivers/gpu/drm/i915/display/intel_dsb.c