summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-02 09:22:34 +0100
committerCarl Worth <cworth@cworth.org>2010-03-04 09:38:37 -0800
commitff8a1e1cf728eeae848f6284bb4272193dfa918b (patch)
treeb1f9361ce4fe76c79f9d407a097aa706234671d5 /src/i830_driver.c
parente18ffceb142a9e18968900dd526a2d50fab72900 (diff)
i830_memory: rip out field "offset"
Use the one in the drm bo instead. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 2403a5a2..75b33039 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1206,7 +1206,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv)
* set the initial framebuffer pixmap to point at
* it
*/
- scrn->fbOffset = intel->front_buffer->offset;
+ scrn->fbOffset = intel->front_buffer->bo->offset;
DPRINTF(PFX, "assert( if(!fbScreenInit(screen, ...) )\n");
if (!fbScreenInit(screen, NULL,