There is an issue when pch_pfit and joiner gets enabled together. Moves the panel_fitting to later stage after pipe_src width is adjusted for joiner. Replace adjusted_mode with pipe_mode in pch_panel_fitting function so that correct value of pipe_src is used once joiner calculation are done. Also decouple the current intel_panel_fitting into pch and gmch panel fitting function. Nemesa Garg (3): drm/i915/display: Modify panel_fitting code for joiner drm/i915/display: Add gmch_panel_fitting in all encoders drm/i915/display: Call panel_fitting from pipe_config drivers/gpu/drm/i915/display/icl_dsi.c | 8 +-- drivers/gpu/drm/i915/display/intel_display.c | 20 ++++++++ drivers/gpu/drm/i915/display/intel_dp.c | 5 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 4 +- drivers/gpu/drm/i915/display/intel_lvds.c | 8 +-- drivers/gpu/drm/i915/display/intel_panel.c | 52 ++++++++++---------- drivers/gpu/drm/i915/display/intel_panel.h | 8 ++- drivers/gpu/drm/i915/display/vlv_dsi.c | 8 +-- 8 files changed, 71 insertions(+), 42 deletions(-) -- 2.25.1