drm/i915/display/vlv: fix pixel overlap register update
authorAndrzej Hajda <andrzej.hajda@intel.com>
Mon, 19 Dec 2022 09:24:27 +0000 (10:24 +0100)
committerJani Nikula <jani.nikula@intel.com>
Mon, 30 Jan 2023 12:57:07 +0000 (14:57 +0200)
commitfceeca7f3cf1c2b8628cd76c936b51271b793b1b
tree95204ae23d2b1c6de527349e523aa9ed5ef69896
parent60bb4478f7de8ad45bc9464f94d766d8ec807606
drm/i915/display/vlv: fix pixel overlap register update

To update properly bits in the register the mask should be used
to clear old value and then the result should be or-ed with new
value, for such updates there is separate helper intel_de_rmw.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221219092428.2515430-1-andrzej.hajda@intel.com
drivers/gpu/drm/i915/display/vlv_dsi.c