drm/i915/dsb: Stop with the RMW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Dec 2022 00:37:58 +0000 (02:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Jan 2023 14:46:59 +0000 (16:46 +0200)
commite13f2615f7e9eb56bc8723a296d67e18509330ed
treedeb7535a9aff41a6a55993c057fb33ecbf2f6b72
parent0fe76b198d482b41771a8d17b45fb726d13083cf
drm/i915/dsb: Stop with the RMW

We don't want to keep random bits set in DSB_CTRL. Stop the
harmful RMW.

Also flip the reverse & around to appease my ocd.

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