• spiiroin's avatar
    Move fbdev control from display plugin to separate mce-fbdev module · 824acab1
    spiiroin authored
    Having mce hold open framebuffer device file descriptor during bootup
    blocks display from making implicit power cycling while switching ui
    components that draw on screen. But since the frame buffer is opened
    from display plugin, it happens only after mce core functionality is
    already initialized.
    
    Making frame buffer handling be part of core functionality to allow the
    device node to be opened earlier.
    
    Also keept the framebuffer device opened also during normal operation
    so that mce already has the file descriptor that is needed to keep the
    shutdown logo on screen after ui and mce services are terminated.
    
    To give visibility to possible lipstick crashes and switches between
    various act dead ui processes, close the file descriptor if compositor
    dbus service is terminated eventhought he device is not shutting down.
    
    [mce] Move fbdev control from display plugin to separate mce-fbdev module. Fixes JB#26215
    824acab1
mce-fbdev.h 1.26 KB