mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
fbdev/ps3fb: Set FBINFO_VIRTFB flag
The ps3fb 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> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: linuxppc-dev@lists.ozlabs.org Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-19-tzimmermann@suse.de
This commit is contained in:
parent
dfc3052256
commit
cccc934a74
|
|
@ -1145,7 +1145,7 @@ static int ps3fb_probe(struct ps3_system_bus_device *dev)
|
|||
info->fix.smem_len = ps3fb_videomemory.size - GPU_FB_START;
|
||||
|
||||
info->pseudo_palette = par->pseudo_palette;
|
||||
info->flags = FBINFO_READS_FAST |
|
||||
info->flags = FBINFO_VIRTFB | FBINFO_READS_FAST |
|
||||
FBINFO_HWACCEL_XPAN | FBINFO_HWACCEL_YPAN;
|
||||
|
||||
retval = fb_alloc_cmap(&info->cmap, 256, 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user