mbox series

[0/6] Consider joiner calculation for panel fitting

Message ID 20241120053838.3794419-1-nemesa.garg@intel.com (mailing list archive)
Headers show
Series Consider joiner calculation for panel fitting | expand

Message

Nemesa Garg Nov. 20, 2024, 5:38 a.m. UTC
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 (6):
  drm/i915/display: Disable joiner and pfit
  drm/i915/display: Add gmch_panel_fitting in all encoders
  drm/i915/display: Replace adjusted mode with pipe mode
  drm/i915/display: Call panel_fitting from pipe_config
  drm/i915/dispaly: Allow joiner and pfit
  drm/i915/display: Initialize pipe_src in compute stage

 drivers/gpu/drm/i915/display/icl_dsi.c       |  4 --
 drivers/gpu/drm/i915/display/intel_display.c | 46 ++++++++++--
 drivers/gpu/drm/i915/display/intel_dp.c      |  6 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c    |  6 --
 drivers/gpu/drm/i915/display/intel_lvds.c    | 10 +--
 drivers/gpu/drm/i915/display/intel_pfit.c    | 74 +++++++++++++-------
 drivers/gpu/drm/i915/display/intel_pfit.h    |  6 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c       |  9 ++-
 8 files changed, 109 insertions(+), 52 deletions(-)