Skip to content
Commit 7c472ad7 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

drm: vc4: Add status of which display is updated through vblank



Previously multiple  displays were slaved off the same SMI
interrupt, triggered by HVS channel 1 (HDMI0).
This doesn't work if you only have a DPI or DSI screen (HVS channel
0), and gives slightly erroneous results with dual HDMI as the
events for HDMI1 are incorrect.

Use SMIDSW0 and SMIDSW1 registers to denote which display has
triggered the vblank.
Handling should be backwards compatible with older firmware.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent f07613dc
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