drm/i915: Move programming plane scaler to its own function.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 14 Nov 2018 11:49:23 +0000 (13:49 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 15 Nov 2018 11:56:14 +0000 (13:56 +0200)
commit2a2777990a342b05f611e78822fc4fa2d9789ade
treef37037e56ed6a818ed58424318adf92ed164f3da
parenta22612301ae61d78a7c0c82dc556931a35db0e91
drm/i915: Move programming plane scaler to its own function.

This cleans the code up slightly, and will make other changes easier.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180920102711.4184-8-maarten.lankhorst@linux.intel.com
(cherry picked from commit ab5c60bf76755d24ae8de5c1c6ac594934656ace)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_sprite.c