drm/i915/display/power: use intel_de_rmw if possible
authorAndrzej Hajda <andrzej.hajda@intel.com>
Fri, 17 Feb 2023 11:18:36 +0000 (12:18 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 21 Feb 2023 18:44:50 +0000 (13:44 -0500)
commit992ed9d525609e2bcef9207c25fe2b1949f158f1
treee734e695e985d25e303c1301719a98d8e7262bb1
parent9548fefcaf9ab61291c0bd427627aa773b19dc75
drm/i915/display/power: use intel_de_rmw if possible

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: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230217111836.864959-1-andrzej.hajda@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power_well.c