From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Add a bunch of missing validity checks for panel fitter usage, and extract the pane fitter code into its own file. Ville Syrjälä (9): drm/i915/pfit: Check pipe source size against pfit limits on ILK-BDW drm/i915/pfit: Check pfit scaling factors on ILK-BDW drm/i915/pfit: Reject pfit downscaling for GMCH platforms drm/i915/pfit: Check pfit minimum timings in pre-SKL drm/i915/pfit: Reject cloning when using pfit on ILK-BDW drm/i915/pfit: Check pfit destination window on ILK-BDW drm/i915/panel: Convert panel code to intel_display drm/i915/pfit: Extract intel_pfit.c drm/i915: Remove ckey/format checks from skl_update_scaler_plane() drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/icl_dsi.c | 1 + drivers/gpu/drm/i915/display/intel_cx0_phy.c | 3 +- drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_dpll.c | 27 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 1 + drivers/gpu/drm/i915/display/intel_lvds.c | 1 + drivers/gpu/drm/i915/display/intel_panel.c | 330 +---------- drivers/gpu/drm/i915/display/intel_panel.h | 6 +- .../gpu/drm/i915/display/intel_pch_refclk.c | 9 +- drivers/gpu/drm/i915/display/intel_pfit.c | 553 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_pfit.h | 15 + drivers/gpu/drm/i915/display/skl_scaler.c | 77 +-- drivers/gpu/drm/i915/display/vlv_dsi.c | 1 + drivers/gpu/drm/xe/Makefile | 1 + 15 files changed, 628 insertions(+), 399 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_pfit.c create mode 100644 drivers/gpu/drm/i915/display/intel_pfit.h -- 2.45.2