src/via_driver.c | 10 ---------- 1 file changed, 10 deletions(-) New commits: commit 186fe79c51e046b2732455eaa16500af32d7d077 Author: James Simmons <jsimm...@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; _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel