Message ID | 20230707083422.18691-11-tzimmermann@suse.de (mailing list archive) |
---|---|
State | Accepted |
Commit | f98eb6c0ea72b74506e28e1cc41cbd6b0878c9bd |
Headers | show |
Series | drm: Improve fbdev emulation for DMA-able framebuffers | expand |
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index b1a2d00ef52d..2821182f1d93 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c @@ -207,6 +207,7 @@ static int omap_fbdev_create(struct drm_fb_helper *helper, drm_fb_helper_fill_info(fbi, helper, sizes); + fbi->flags |= FBINFO_VIRTFB; fbi->screen_buffer = omap_gem_vaddr(bo); fbi->screen_size = bo->size; fbi->fix.smem_start = dma_addr;