vfio-mdev/mdpy-fb: Do not set struct fb_info.apertures
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 19 Dec 2022 16:05:07 +0000 (17:05 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 13 Jan 2023 11:54:27 +0000 (12:54 +0100)
commite12fa3544469b761ba72b070190d272e2a644e54
tree385e9496c4b3b415a952236d387f102040e81731
parent81d2393485f0990cf6566b0c9e0697c199f68ae5
vfio-mdev/mdpy-fb: Do not set struct fb_info.apertures

Generic fbdev drivers use the apertures field in struct fb_info to
control ownership of the framebuffer memory and graphics device. Do
not set the values in mdpy-fb.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221219160516.23436-10-tzimmermann@suse.de
samples/vfio-mdev/mdpy-fb.c