Skip to content

drm/vc4: kms: Misc fixes for HVS commits

Maxime Ripard dri-devel 2 versions – Applied

Status from this message: Applied to drm/drm-misc (drm-misc-fixes).

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 9 repliesApplied
  2. v16 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Prevent a null pointer dereference

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6drm/vc4: kms: Wait for the commit before increasing our clock ratedrivers/gpu/drm/vc4/vc4_kms.c+3 -30 replies
2/6drm/vc4: kms: Fix return code checkdrivers/gpu/drm/vc4/vc4_kms.c+5 -50 replies
3/6drm/vc4: kms: Add missing drm_crtc_commit_putdrivers/gpu/drm/vc4/vc4_kms.c+8 -10 replies
4/6drm/vc4: kms: Clear the HVS FIFO commit pointer once donedrivers/gpu/drm/vc4/vc4_kms.c+1 -00 replies
5/6drm/vc4: kms: Don't duplicate pending commitdrivers/gpu/drm/vc4/vc4_kms.c+0 -60 replies
6/6drm/vc4: kms: Fix previous HVS commit waitdrivers/gpu/drm/vc4/vc4_kms.c+2 -81 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJian-Hong PanDave Stevenson
SeriesT-b
1/6
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] drm/vc4: kms: Misc fixes for HVS commits

Hi,

The conversion to DRM commit helpers (f3c420fe19f8, "drm/vc4: kms: Convert to atomic helpers") introduced a number of issues in corner cases, most of them showing themselves in the form of either a vblank timeout or use-after-free error.

These patches should fix most of them, some of them still being debugged.

Maxime

Changes from v1:
- Prevent a null pointer dereference

Maxime Ripard (6):
drm/vc4: kms: Wait for the commit before increasing our clock rate drm/vc4: kms: Fix return code check
drm/vc4: kms: Add missing drm_crtc_commit_put
drm/vc4: kms: Clear the HVS FIFO commit pointer once done drm/vc4: kms: Don't duplicate pending commit
drm/vc4: kms: Fix previous HVS commit wait

 drivers/gpu/drm/vc4/vc4_kms.c | 42 ++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 23 deletions(-)
Signature · 1 line
2.33.1