drm/i915/scaler: Extract intel_allocate_scaler()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Nov 2024 12:26:58 +0000 (14:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Nov 2024 22:07:15 +0000 (00:07 +0200)
commitecf2afc59c1ea3cdd3777effa7a422f60b9039c8
treeca589ca5de85538cb4eb7a4b2e2f39134d1de426
parent3de26c81e9ae4aa142c7ce65b570b2e24861f51f
drm/i915/scaler: Extract intel_allocate_scaler()

intel_atomic_setup_scaler() is a mess. Make it a bit less so
by moving the scaler allocation loop into its own function.

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-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_scaler.c