Refuse to run if framebuffer or dri devices are present
The simpledrm driver, introduced in kernel 5.14, can replace efifb to provide the efi framebuffer.
This fixes a bug on Fedora 36 (first version to use simpledrm driver): https://bugzilla.redhat.com/show_bug.cgi?id=2074789
v2: check for framebuffer or dri devices instead of efi framebuffer interface.
Signed-off-by: Jocelyn Falempe jfalempe@redhat.com
Edited by Jocelyn Falempe