]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/scaler: Nuke redundant code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Dec 2024 13:08:24 +0000 (15:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jan 2025 17:32:08 +0000 (19:32 +0200)
commitd4dbabd4251a93f98f8f4e72ad57f35adbd08e00
tree7b1966b5a4573fbb6e6412a50c5c6b45eba43f72
parentc5877587a2a93de3ebf0cb981f02ed3d2fee3ee3
drm/i915/scaler: Nuke redundant code

The tgl+ and mtl+ numbers in skl_scaler_max_dst_size() are
identical. Combine them to a single piece of code.

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