Skip to content
Commit 1e536040 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

drm/vc4: Fix potential null pointer read when disabling vblank

vc4_disable_vblank assumed that vc4_encoder was always assigned,
which isn't guaranteed.

If it isn't assigned then disable the interrupt anyway as it's
not connected.

https://github.com/raspberrypi/linux/issues/6146



Fixes: 63c0bcc4 ("drm/vc4: Add option to call from crtc to encoder on vblank")
Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent c10f0238
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment