drm/i915/scaler: Clean up intel_atomic_setup_scalers() a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Nov 2024 12:26:54 +0000 (14:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Nov 2024 22:07:03 +0000 (00:07 +0200)
commit5b68f2346dcf43f6b89456884c9bacc6590445d3
treeefbb85a181ffc630fa85707c01b05771c319307d
parentb5b4b5388302a9310cb0e294bf52ff6ee3e85496
drm/i915/scaler: Clean up intel_atomic_setup_scalers() a bit

intel_atomic_setup_scalers() is currently messing around with
the internals of the atomic states. Stop doing that and instead
use the regular interfaces so that we don't need to know any ugly
implementation details.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241107122658.21901-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_scaler.c