projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d55c0
)
fbdev/vfb: Set FBINFO_VIRTFB flag
author
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 27 Nov 2023 13:15:32 +0000
(14:15 +0100)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Wed, 29 Nov 2023 11:20:11 +0000
(12:20 +0100)
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
drivers/video/fbdev/vfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/vfb.c
b/drivers/video/fbdev/vfb.c
index 1b7c338f99560fc4a3bca8cdfe9ba2d495ca3eaf..c748b9311fb12e0d2349359802e9577576444473 100644
(file)
--- a/
drivers/video/fbdev/vfb.c
+++ b/
drivers/video/fbdev/vfb.c
@@
-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;