mbox series

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

Message ID CAF6AEGvswNKdd02EYKYv5Zjv7f+mcqeWC7hHQ1SBjqYzN_ZHnA@mail.gmail.com
State New
Headers show
Series [pull] drm/msm: drm-msm-fixes-2022-06-28 for v5.19-rc5 | expand

Pull-request

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

Message

Rob Clark June 28, 2022, 4:37 p.m. UTC
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(-)