delay closing of DRM connection as much as possible
ply-image disables all monitors but "main" before it plays boto splash
animation. after it disables the monitors it calls drmClose which causes
kernel to restore previous video mode, re-enabling disabled monitors.
if the monitor syncs before X server starts user can see boot-splash
animation on 2nd monitor. This change moves drmClose to
ply_frame_buffer_close which is never called anyway because we depend
on kernel to teardown everything.
TEST=boot rambi with HDMI monitor attached. splash screen on 2nd monitor
should be visible for shorter time.
Signed-off-by: Dominik Behr <firstname.lastname@example.org>
Reviewed-by: Stéphane Marchesin <email@example.com>
4 files changed