Skip to content

drm/vc4: hdmi: Interrupt fixes

Maxime Ripard dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/vc4: hdmi: Drop devm interrupt handler for CEC interruptsdrivers/gpu/drm/vc4/vc4_hdmi.c+33 -160 replies
2/3drm/vc4: hdmi: Drop devm interrupt handler for hotplug interruptsdrivers/gpu/drm/vc4/vc4_hdmi.c+28 -130 replies
3/3drm/vc4: hdmi: Only call into DRM framework if registereddrivers/gpu/drm/vc4/vc4_hdmi.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave Stevenson
SeriesR-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] drm/vc4: hdmi: Interrupt fixes

Hi,

Those are three fixes for race conditions we currently have in the vc4 HDMI driver with regard to the interrupts handling.

The first two are fixing an issue where the handler will be removed by devm after the resources it uses have been free'd already.

The last one is there to deal with an interrupt coming in the window between the end of the driver's bind and the DRM device registration.

Let me know what you think,
Maxime

Maxime Ripard (3):
drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts drm/vc4: hdmi: Drop devm interrupt handler for hotplug interrupts drm/vc4: hdmi: Only call into DRM framework if registered

 drivers/gpu/drm/vc4/vc4_hdmi.c | 92 +++++++++++++++++++++++-----------
 1 file changed, 62 insertions(+), 30 deletions(-)
Signature · 1 line
2.31.1