drm/i915: Simplify intel_old_crtc_state_disables() calling convention
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Mar 2024 08:47:30 +0000 (10:47 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 Mar 2024 06:53:17 +0000 (08:53 +0200)
commit0bcce5ac67d55bc6e34fd8c0a729a084ca732569
tree284845dd37ed8f46adea7cd6f18f962ef61060ad
parent4bc6745df2dbc315dc5a29a8b79020a74bd8fdd9
drm/i915: Simplify intel_old_crtc_state_disables() calling convention

Stop passing in so much redundant stuff to
intel_old_crtc_state_disables(). Top level atomic state + crtc
is all we need.

And while at it constify the states to make it clear they should
not be mutated.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240305084730.19182-4-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/display/intel_display.c