drm/i915/de: return the old register value from intel_de_rmw()
authorJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2022 17:17:19 +0000 (19:17 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 8 Dec 2022 12:57:27 +0000 (14:57 +0200)
commit4fa9fc424ac97ce5ea1a7bbd49524d26ede2c0be
tree34b346a095bf7fac1c4461340db084cff87b4f75
parent93b3c44d6f760e5df3680d9fa08093675f1cf116
drm/i915/de: return the old register value from intel_de_rmw()

A similar thing was added in intel_uncore_rmw(). Make it available for
display too.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b82cb29e8ece63e68499307f9e3e83139e590d23.1670433372.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_de.h