aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/framebuffer.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2012-05-03 10:08:26 -0400
committerDave Airlie <airlied@redhat.com>2012-05-07 05:58:51 -0400
commit37214ca00e64749e1e65f159aa88f206acfd8e38 (patch)
tree135791d16fda776beb8f3c827ea7cb2be389db0a /drivers/gpu/drm/gma500/framebuffer.c
parent846a6038d6260153cb16377515e372ed10a2020f (diff)
gma500: vram_addr should be __iomem
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/framebuffer.c')
-rw-r--r--drivers/gpu/drm/gma500/framebuffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 4fc0d08bd61b..30400b68e4ba 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -455,8 +455,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
455 info->fix.ypanstep = 0; 455 info->fix.ypanstep = 0;
456 456
457 /* Accessed stolen memory directly */ 457 /* Accessed stolen memory directly */
458 info->screen_base = (char *)dev_priv->vram_addr + 458 info->screen_base = dev_priv->vram_addr + backing->offset;
459 backing->offset;
460 info->screen_size = size; 459 info->screen_size = size;
461 460
462 if (dev_priv->gtt.stolen_size) { 461 if (dev_priv->gtt.stolen_size) {