Skip to content
Commit cbe5c7d8 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
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 de98023a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment