summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tegra/fbdev.c')
-rw-r--r--drivers/gpu/drm/tegra/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/fbdev.c b/drivers/gpu/drm/tegra/fbdev.c
index 030e560df118..7204784cd52b 100644
--- a/drivers/gpu/drm/tegra/fbdev.c
+++ b/drivers/gpu/drm/tegra/fbdev.c
@@ -132,6 +132,7 @@ static int tegra_fbdev_probe(struct drm_fb_helper *helper,
}
}
+ info->flags |= FBINFO_VIRTFB;
info->screen_base = (void __iomem *)bo->vaddr + offset;
info->screen_size = size;
info->fix.smem_start = (unsigned long)(bo->iova + offset);