mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
fbdev/au1200fb: Set FBINFO_VIRTFB flag
The au1200fb driver operates on DMA-able 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-17-tzimmermann@suse.de
This commit is contained in:
parent
c9496954c1
commit
cb99b486a5
1 changed files with 2 additions and 0 deletions
|
@ -1568,6 +1568,8 @@ static int au1200fb_init_fbinfo(struct au1200fb_device *fbdev)
|
|||
fbi->fix.mmio_len = 0;
|
||||
fbi->fix.accel = FB_ACCEL_NONE;
|
||||
|
||||
fbi->flags |= FBINFO_VIRTFB;
|
||||
|
||||
fbi->screen_buffer = fbdev->fb_mem;
|
||||
|
||||
au1200fb_update_fbinfo(fbi);
|
||||
|
|
Loading…
Add table
Reference in a new issue