Skip to content

Commit f98eb6c

Browse files
author
Thomas Zimmermann
committed
drm/omapdrm: Set fbdev FBINFO_VIRTFB flag
Mark the framebuffer with FBINFO_VIRTFB. The framebuffer range is in DMA-able memory and should be accessed with the CPU's regular memory ops. v2: * drop FBINFO_DEFAULT Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Maxime Ripard <[email protected]> Cc: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent da6eb39 commit f98eb6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/omapdrm/omap_fbdev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ static int omap_fbdev_create(struct drm_fb_helper *helper,
207207

208208
drm_fb_helper_fill_info(fbi, helper, sizes);
209209

210+
fbi->flags |= FBINFO_VIRTFB;
210211
fbi->screen_buffer = omap_gem_vaddr(bo);
211212
fbi->screen_size = bo->size;
212213
fbi->fix.smem_start = dma_addr;

0 commit comments

Comments
 (0)