drm/i915: Simplify watermark state checker calling convention
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Oct 2023 12:27:13 +0000 (15:27 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Oct 2023 21:12:46 +0000 (00:12 +0300)
commit8f0994d47e89711e654df4e31eabb8881079880a
tree2ee2ec1c301fb76077db270c1f3b2c053c91e035
parent487a2db8bc4eb79c53c9ff8fca65a7fc8350df6c
drm/i915: Simplify watermark state checker calling convention

There is never any reason to pass in both the crtc and its state
as one can always dig out the crtc from its state. But for more
consistency across the whole state checker let's just pass the
overall atomic state+crtc here as well.

v2: Also pass state+crtc here (Jani)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231005122713.3531-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_modeset_verify.c
drivers/gpu/drm/i915/display/skl_watermark.c
drivers/gpu/drm/i915/display/skl_watermark.h