mbox series

[pull] drm/msm: drm-msm-fixes-2021-10-05 for v5.15-rc5

Message ID CAF6AEGtD4u7yyiy+BQLmibUCbn=AdDRu7FrmdViHVx0QrcGf8g@mail.gmail.com (mailing list archive)
State Not Applicable
Headers show
Series [pull] drm/msm: drm-msm-fixes-2021-10-05 for v5.15-rc5 | expand

Pull-request

https://gitlab.freedesktop.org/drm/msm.git drm-msm-fixes-2021-10-05

Message

Rob Clark Oct. 5, 2021, 10:45 p.m. UTC
Hi Dave & Daniel,

A few fixes for v5.15:

* Fix a new crash on dev file close if the dev file was opened when
  GPU is not loaded (such as missing fw in initrd)
* Switch to single drm_sched_entity per priority level per drm_file
  to unbreak multi-context userspace
* Serialize GMU access to fix GMU OOB errors
* Various error path fixes
* A couple integer overflow fixes
* Fix mdp5 cursor plane WARNs

The following changes since commit 5816b3e6577eaa676ceb00a848f0fd65fe2adc29:

  Linux 5.15-rc3 (2021-09-26 14:08:19 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/msm.git drm-msm-fixes-2021-10-05

for you to fetch changes up to c6921fbc88e120b2279c55686a071ca312d058e9:

  drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
(2021-10-04 08:08:07 -0700)

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/msm/submit: fix overflow check on 64-bit architectures

Colin Ian King (1):
      drm/msm: Fix null pointer dereference on pointer edp

Dan Carpenter (4):
      drm/msm/a4xx: fix error handling in a4xx_gpu_init()
      drm/msm/a3xx: fix error handling in a3xx_gpu_init()
      drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
      drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling

Dmitry Baryshkov (2):
      drm/msm/mdp5: fix cursor-related warnings
      drm/msm/dsi/phy: fix clock names in 28nm_8960 phy

Fabio Estevam (1):
      drm/msm: Do not run snapshot on non-DPU devices

Kuogee Hsieh (1):
      drm/msm/dp: only signal audio when disconnected detected at dp_pm_resume

Marek Vasut (1):
      drm/msm: Avoid potential overflow in timeout_to_jiffies()

Marijn Suijten (1):
      drm/msm/dsi: dsi_phy_14nm: Take ready-bit into account in poll_for_ready

Rob Clark (5):
      drm/msm: Fix crash on dev file close
      drm/msm/a6xx: Serialize GMU communication
      drm/msm/a6xx: Track current ctx by seqno
      drm/msm: A bit more docs + cleanup
      drm/msm: One sched entity per process per priority

Robert Foss (1):
      drm/msm/dpu: Fix address of SM8150 PINGPONG5 IRQ register

Stephan Gerhold (1):
      drm/msm: Fix devfreq NULL pointer dereference on a3xx

 drivers/gpu/drm/msm/adreno/a3xx_gpu.c           |  9 ++--
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c           |  9 ++--
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c           |  6 +++
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h           |  3 ++
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c           | 46 ++++++++++++----
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h           | 11 +++-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c  |  2 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c       | 16 ++++++
 drivers/gpu/drm/msm/dp/dp_display.c             | 10 ++--
 drivers/gpu/drm/msm/dsi/dsi.c                   |  4 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c              |  2 +-
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c      | 30 +++++------
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c |  4 +-
 drivers/gpu/drm/msm/edp/edp_ctrl.c              |  3 +-
 drivers/gpu/drm/msm/msm_drv.c                   | 15 ++++--
 drivers/gpu/drm/msm/msm_drv.h                   | 47 +---------------
 drivers/gpu/drm/msm/msm_gem_submit.c            |  7 +--
 drivers/gpu/drm/msm/msm_gpu.h                   | 66 ++++++++++++++++++++++-
 drivers/gpu/drm/msm/msm_gpu_devfreq.c           |  6 +++
 drivers/gpu/drm/msm/msm_submitqueue.c           | 72 ++++++++++++++++++++-----
 20 files changed, 256 insertions(+), 112 deletions(-)

Comments

Rob Clark Oct. 5, 2021, 10:46 p.m. UTC | #1
+ dri-devel, sorry hit 'send' too quickly

On Tue, Oct 5, 2021 at 3:45 PM Rob Clark <robdclark@gmail.com> wrote:
>
> Hi Dave & Daniel,
>
> A few fixes for v5.15:
>
> * Fix a new crash on dev file close if the dev file was opened when
>   GPU is not loaded (such as missing fw in initrd)
> * Switch to single drm_sched_entity per priority level per drm_file
>   to unbreak multi-context userspace
> * Serialize GMU access to fix GMU OOB errors
> * Various error path fixes
> * A couple integer overflow fixes
> * Fix mdp5 cursor plane WARNs
>
> The following changes since commit 5816b3e6577eaa676ceb00a848f0fd65fe2adc29:
>
>   Linux 5.15-rc3 (2021-09-26 14:08:19 -0700)
>
> are available in the Git repository at:
>
>   https://gitlab.freedesktop.org/drm/msm.git drm-msm-fixes-2021-10-05
>
> for you to fetch changes up to c6921fbc88e120b2279c55686a071ca312d058e9:
>
>   drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
> (2021-10-04 08:08:07 -0700)
>
> ----------------------------------------------------------------
> Arnd Bergmann (1):
>       drm/msm/submit: fix overflow check on 64-bit architectures
>
> Colin Ian King (1):
>       drm/msm: Fix null pointer dereference on pointer edp
>
> Dan Carpenter (4):
>       drm/msm/a4xx: fix error handling in a4xx_gpu_init()
>       drm/msm/a3xx: fix error handling in a3xx_gpu_init()
>       drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
>       drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
>
> Dmitry Baryshkov (2):
>       drm/msm/mdp5: fix cursor-related warnings
>       drm/msm/dsi/phy: fix clock names in 28nm_8960 phy
>
> Fabio Estevam (1):
>       drm/msm: Do not run snapshot on non-DPU devices
>
> Kuogee Hsieh (1):
>       drm/msm/dp: only signal audio when disconnected detected at dp_pm_resume
>
> Marek Vasut (1):
>       drm/msm: Avoid potential overflow in timeout_to_jiffies()
>
> Marijn Suijten (1):
>       drm/msm/dsi: dsi_phy_14nm: Take ready-bit into account in poll_for_ready
>
> Rob Clark (5):
>       drm/msm: Fix crash on dev file close
>       drm/msm/a6xx: Serialize GMU communication
>       drm/msm/a6xx: Track current ctx by seqno
>       drm/msm: A bit more docs + cleanup
>       drm/msm: One sched entity per process per priority
>
> Robert Foss (1):
>       drm/msm/dpu: Fix address of SM8150 PINGPONG5 IRQ register
>
> Stephan Gerhold (1):
>       drm/msm: Fix devfreq NULL pointer dereference on a3xx
>
>  drivers/gpu/drm/msm/adreno/a3xx_gpu.c           |  9 ++--
>  drivers/gpu/drm/msm/adreno/a4xx_gpu.c           |  9 ++--
>  drivers/gpu/drm/msm/adreno/a6xx_gmu.c           |  6 +++
>  drivers/gpu/drm/msm/adreno/a6xx_gmu.h           |  3 ++
>  drivers/gpu/drm/msm/adreno/a6xx_gpu.c           | 46 ++++++++++++----
>  drivers/gpu/drm/msm/adreno/a6xx_gpu.h           | 11 +++-
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c  |  2 +-
>  drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c       | 16 ++++++
>  drivers/gpu/drm/msm/dp/dp_display.c             | 10 ++--
>  drivers/gpu/drm/msm/dsi/dsi.c                   |  4 +-
>  drivers/gpu/drm/msm/dsi/dsi_host.c              |  2 +-
>  drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c      | 30 +++++------
>  drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c |  4 +-
>  drivers/gpu/drm/msm/edp/edp_ctrl.c              |  3 +-
>  drivers/gpu/drm/msm/msm_drv.c                   | 15 ++++--
>  drivers/gpu/drm/msm/msm_drv.h                   | 47 +---------------
>  drivers/gpu/drm/msm/msm_gem_submit.c            |  7 +--
>  drivers/gpu/drm/msm/msm_gpu.h                   | 66 ++++++++++++++++++++++-
>  drivers/gpu/drm/msm/msm_gpu_devfreq.c           |  6 +++
>  drivers/gpu/drm/msm/msm_submitqueue.c           | 72 ++++++++++++++++++++-----
>  20 files changed, 256 insertions(+), 112 deletions(-)