[Openchrome-devel] xf86-video-openchrome: src/via_driver.c

James Simmons jsimmons at kemper.freedesktop.org
Sun Apr 14 08:22:57 PDT 2013


 src/via_driver.c |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 186fe79c51e046b2732455eaa16500af32d7d077
Author: James Simmons <jsimmons at infradead.org>
Date:   Sun Apr 14 11:22:16 2013 -0400

    drmmode_set_mode_major does this for us so no need to do it here

diff --git a/src/via_driver.c b/src/via_driver.c
index d7387cb..fd91910 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -806,16 +806,6 @@ via_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height)
     if (!drmmode->front_bo)
         goto fail;
 
-#ifdef HAVE_DRI
-    if (pVia->KMS) {
-        if (drmModeAddFB(drmmode->fd, width, height, scrn->depth,
-                        scrn->bitsPerPixel, pitch,
-                        drmmode->front_bo->handle,
-                        &drmmode->fb_id))
-            goto fail;
-    }
-#endif
-
     new_pixels = drm_bo_map(scrn, drmmode->front_bo);
     if (!new_pixels)
         goto fail;


More information about the Openchrome-devel mailing list