summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/core/cfbcopyarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/core/cfbcopyarea.c')
-rw-r--r--drivers/video/fbdev/core/cfbcopyarea.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/cfbcopyarea.c b/drivers/video/fbdev/core/cfbcopyarea.c
index 5b80bf3da..a271f57d9 100644
--- a/drivers/video/fbdev/core/cfbcopyarea.c
+++ b/drivers/video/fbdev/core/cfbcopyarea.c
@@ -391,6 +391,9 @@ void cfb_copyarea(struct fb_info *p, const struct fb_copyarea *area)
if (p->state != FBINFO_STATE_RUNNING)
return;
+ if (p->flags & FBINFO_VIRTFB)
+ fb_warn_once(p, "Framebuffer is not in I/O address space.");
+
/* if the beginning of the target area might overlap with the end of
the source area, be have to copy the area reverse. */
if ((dy == sy && dx > sx) || (dy > sy)) {