[Freedreno] [pull] drm/msm: drm-msm-fixes-2022-06-28 for v5.19-rc5

Rob Clark robdclark at gmail.com
Tue Jun 28 16:37:48 UTC 2022


Hi Dave,

A couple remaining fixes for v5.19, summary below (and in tag msg)

The following changes since commit a6e2af64a79afa7f1b29375b5231e840a84bb845:

  drm/msm/dp: force link training for display resolution change
(2022-06-18 09:14:06 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/msm.git tags/drm-msm-fixes-2022-06-28

for you to fetch changes up to 08de214138cdea438a0dfcb10d355a6650c6017c:

  drm/msm/gem: Fix error return on fence id alloc fail (2022-06-27
12:48:27 -0700)

----------------------------------------------------------------
Fixes for v5.19-rc5

- Fix to increment vsync_cnt before calling drm_crtc_handle_vblank so that
  userspace sees the value *after* it is incremented if waiting for vblank
  events
- Fix to reset drm_dev to NULL in dp_display_unbind to avoid a crash in
  probe/bind error paths
- Fix to resolve the smatch error of de-referencing before NULL check in
  dpu_encoder_phys_wb.c
- Fix error return to userspace if fence-id allocation fails in submit
  ioctl

----------------------------------------------------------------
Kuogee Hsieh (1):
      drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()

Rob Clark (1):
      drm/msm/gem: Fix error return on fence id alloc fail

Stephen Boyd (1):
      drm/msm/dpu: Increment vsync_cnt before waking up userspace

sunliming (1):
      drm/msm/dpu: Fix variable dereferenced before check

 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c         |  3 ++-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 10 +++++-----
 drivers/gpu/drm/msm/dp/dp_display.c                 |  2 ++
 drivers/gpu/drm/msm/msm_gem_submit.c                |  2 +-
 4 files changed, 10 insertions(+), 7 deletions(-)


More information about the Freedreno mailing list