drm/i915/scaler: Extract skl_scaler_min_dst_size()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Dec 2024 13:08:22 +0000 (15:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jan 2025 17:31:15 +0000 (19:31 +0200)
commit9313b0bee09b6fdff4fb087090e57e44fcfd4ab3
tree5a3d73c87df35014a010d9287d30ac989078f63c
parent24c095f6958acebefabee4aad20ee5a98cfb46fb
drm/i915/scaler: Extract skl_scaler_min_dst_size()

The SKL_MIN_DST_* defines just make things hard to read.
Get rid of them and introduce an easy to read function
in their place.

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