]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/gma500/psb_2d.c
gma500: GEMify the frame buffer base bits
[karo-tx-linux.git] / drivers / staging / gma500 / psb_2d.c
index 29959ded78fc118fa8ba7ebe3a24b94201c4196e..0bd834c982d3b909fad8d7a463ad1e0b47130902 100644 (file)
@@ -160,7 +160,7 @@ static void psbfb_fillrect_accel(struct fb_info *info,
        if (!fb)
                return;
 
-       offset = psbfb->offset;
+       offset = psbfb->gtt->offset;
        stride = fb->pitch;
 
        switch (fb->depth) {
@@ -303,7 +303,7 @@ static void psbfb_copyarea_accel(struct fb_info *info,
        if (!fb)
                return;
 
-       offset = psbfb->offset;
+       offset = psbfb->gtt->offset;
        stride = fb->pitch;
 
        switch (fb->depth) {