drm/i915/display/panel: use intel_de_rmw if possible in panel related code
authorAndrzej Hajda <andrzej.hajda@intel.com>
Thu, 5 Jan 2023 13:10:44 +0000 (14:10 +0100)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Feb 2023 16:10:46 +0000 (18:10 +0200)
commitaa80b2b12b89a4d5de2960968b01128003b147e6
tree4ecf2aa367badc1c6ceedb9544c6be35d5d39f68
parentcd5103eed56fd9012221659c403c3339b8c20305
drm/i915/display/panel: use intel_de_rmw if possible in panel related code

The helper makes the code more compact and readable.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230105131046.2173431-7-andrzej.hajda@intel.com
drivers/gpu/drm/i915/display/intel_backlight.c
drivers/gpu/drm/i915/display/intel_pps.c
drivers/gpu/drm/i915/display/intel_psr.c