]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/scaler: Extract skl_scaler_max_src_size()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Dec 2024 13:08:21 +0000 (15:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jan 2025 17:30:51 +0000 (19:30 +0200)
commit24c095f6958acebefabee4aad20ee5a98cfb46fb
treebebf0d476849478dd8bb0990801282957aea96cb
parent3ac197e4d7ada579a1a8fed36f7f27eb1c231dd2
drm/i915/scaler: Extract skl_scaler_max_src_size()

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