summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/vlv_dsi.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-02-05 16:48:42 +0200
committerJani Nikula <jani.nikula@intel.com>2021-02-08 12:12:41 +0200
commit714b1cdb02ee670be1ec5b1190377fef3845acd9 (patch)
treeb5510dc910a7f1ad2f22163510b923d380fd3f00 /drivers/gpu/drm/i915/display/vlv_dsi.c
parent2a3014490cd18a5d0a95c6efd406cf90d69e2a44 (diff)
downloadlinux-714b1cdb02ee670be1ec5b1190377fef3845acd9.tar.gz
linux-714b1cdb02ee670be1ec5b1190377fef3845acd9.tar.bz2
linux-714b1cdb02ee670be1ec5b1190377fef3845acd9.zip
drm/i915: refactor skylake scaler code into new file.
This moves the code from various places and consolidates it into one new file. v2: - rename skl_program_plane -> skl_program_plane_scaler (Ville) - also move skl_pfit_enable, and consequently make some skl_scaler_* functions static to skl_scaler.c (Ville) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/2fa703ffc7b96a41c392fd5ebbd2e6e4ffb6fb05.1612536383.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/vlv_dsi.c')
-rw-r--r--drivers/gpu/drm/i915/display/vlv_dsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/vlv_dsi.c b/drivers/gpu/drm/i915/display/vlv_dsi.c
index f94025ec603a..1059a26c1f58 100644
--- a/drivers/gpu/drm/i915/display/vlv_dsi.c
+++ b/drivers/gpu/drm/i915/display/vlv_dsi.c
@@ -38,6 +38,7 @@
#include "intel_fifo_underrun.h"
#include "intel_panel.h"
#include "intel_sideband.h"
+#include "skl_scaler.h"
/* return pixels in terms of txbyteclkhs */
static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count,