]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Clean up intel_wm_need_update()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2024 16:24:10 +0000 (19:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 24 Sep 2024 07:44:58 +0000 (10:44 +0300)
commit69aebe7a61ce49895e0352a1d5b5534e07094a46
tree12d2ce386bfa0a5eac47691d2d763a14b77a0d68
parent16d1d39db536205746eaaf43ee70780b893cd27a
drm/i915: Clean up intel_wm_need_update()

intel_wm_need_update() is a mess when it comes to variable
names and constness. The checks also keep alternating randomly
between 'old != cur' vs. 'cur != old'. Clean it all up.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916162413.8555-5-ville.syrjala@linux.intel.com
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
drivers/gpu/drm/i915/display/intel_atomic_plane.c