summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-04 10:28:09 -0800
committerOwain G. Ainsworth <oga@openbsd.org>2010-08-12 13:47:31 +0100
commit827b3958b1f8d5e2457d6b92e8f7bd5d5fad21cd (patch)
tree2efbbdb182cecc8be8b304ea5c31b67183123633
parentb2f4de3b7fb73bd51b1fd1b2b044862839c9a6ea (diff)
Remove a piece of fbOffset cruft from non-DRM support.
(cherry picked from commit 15026d64d3c0d8ad96e0a73fcae3103d1c41fd46) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
-rw-r--r--src/i830_driver.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index af57830d..878bfc1b 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2648,12 +2648,6 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv)
if (scrn->virtualX > scrn->displayWidth)
scrn->displayWidth = scrn->virtualX;
- /* If the front buffer is not a BO, we need to
- * set the initial framebuffer pixmap to point at
- * it
- */
- scrn->fbOffset = intel->front_buffer->offset;
-
DPRINTF(PFX, "assert( if(!fbScreenInit(screen, ...) )\n");
if (!fbScreenInit(screen, NULL,
scrn->virtualX, scrn->virtualY,