]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/scaler: Extract skl_scaler_max_dst_size()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Dec 2024 13:08:23 +0000 (15:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jan 2025 17:31:38 +0000 (19:31 +0200)
commitc5877587a2a93de3ebf0cb981f02ed3d2fee3ee3
tree63d7b5262bb4e923c49c476e53e137bf0b523a42
parent9313b0bee09b6fdff4fb087090e57e44fcfd4ab3
drm/i915/scaler: Extract skl_scaler_max_dst_size()

The SKL_MAX_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-5-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
drivers/gpu/drm/i915/display/skl_scaler.c