mbox series

[pull] drm/msm: drm-msm-fixes-2023-10-07 for v6.6-rc5

Message ID CAF6AEGv-HNxQ=VBtZ8geGzYJum9jtManEdbvhcjo_WWF_J9Ziw@mail.gmail.com
State New
Headers show
Series [pull] drm/msm: drm-msm-fixes-2023-10-07 for v6.6-rc5 | expand

Pull-request

https://gitlab.freedesktop.org/drm/msm.git tags/drm-msm-fixes-2023-10-07

Message

Rob Clark Oct. 7, 2023, 4:24 p.m. UTC
Hi Dave,

Late fixes for v6.6, description below.

The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70:

  Linux 6.6-rc2 (2023-09-17 14:40:24 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/msm.git tags/drm-msm-fixes-2023-10-07

for you to fetch changes up to 10f20628c9b8e924b8046e63b36b2cea4d2c85e4:

  drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits
(2023-10-05 10:18:10 -0700)

----------------------------------------------------------------
Fixes for v6.6-rc5

- fix to not reset the PHY everytime we start link training but only
  do it if link training fails. Without this, the PLL unlocked
  interrupt fires causing "Unexpected DP AUX IRQ 0x01000000 when
  not busy" spam in the logs since last 2-3 cycles
- correct the highest bank bit to match downstream device tree for
  msm8998
- skip the video mode wait if the timing engine is not enabled. This
  was introduced after pre_enable flag for DSI video mode panels
  where we would end up waiting for the video mode done interrupt
  even before enabling timing engine causing error spam and long
  bootup times.
- check the correct return code of irq_of_parse_and_map() in DSI code
- avoid overflow issues in the dpu bandwidth calculation . This was
  exposed for high resolution displays and a critical fix to avoid
  atomic_check failure
- minor fix to add new lines in DP print messages.
- Fix to fail atomic_check() if the resolution exceeds max mdp clk.
  This leads to underflow otherwise if we try to allow that frame.

----------------------------------------------------------------
Abhinav Kumar (3):
      drm/msm/dsi: skip the wait for video mode done if not applicable
      drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
      drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits

Dan Carpenter (1):
      drm/msm/dsi: fix irq_of_parse_and_map() error checking

Dmitry Baryshkov (1):
      drm/msm/mdss: fix highest-bank-bit for msm8998

Kuogee Hsieh (1):
      drm/msm/dp: do not reinitialize phy unless retry during link training

Stephen Boyd (1):
      drm/msm/dp: Add newlines to debug printks

 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 27 ++++++++++++++++++---------
 drivers/gpu/drm/msm/dp/dp_ctrl.c          | 13 ++++++-------
 drivers/gpu/drm/msm/dp/dp_link.c          |  4 ++--
 drivers/gpu/drm/msm/dsi/dsi_host.c        | 19 +++++++++++++++----
 drivers/gpu/drm/msm/msm_mdss.c            |  2 +-
 5 files changed, 42 insertions(+), 23 deletions(-)