mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
fbdev/vfb: Set FBINFO_VIRTFB flag
The vfb driver operates on system memory. Mark the framebuffer accordingly. Helpers operating on the framebuffer memory will test for the presence of this flag. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-4-tzimmermann@suse.de
This commit is contained in:
parent
12d55c013a
commit
63994d486c
|
|
@ -440,6 +440,7 @@ static int vfb_probe(struct platform_device *dev)
|
|||
if (!info)
|
||||
goto err;
|
||||
|
||||
info->flags |= FBINFO_VIRTFB;
|
||||
info->screen_buffer = videomemory;
|
||||
info->fbops = &vfb_ops;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user