Signed-off-by: Kevin Brace <[email protected]>
---
 src/r128_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/r128_driver.c b/src/r128_driver.c
index dd3521c..0b30b83 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1278,9 +1278,6 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
     pScrn->racMemFlags  = RAC_FB | RAC_COLORMAP | RAC_VIEWPORT | RAC_CURSOR;
 #endif
 
-    /* Allocate an xf86CrtcConfig */
-    xf86CrtcConfigInit(pScrn, &R128CRTCResizeFuncs);
-
     info->fifo_slots  = 0;
     info->pix24bpp    = xf86GetBppFromDepth(pScrn, pScrn->depth);
     info->CurrentLayout.bitsPerPixel = pScrn->bitsPerPixel;
@@ -1360,6 +1357,9 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
                   "Using framebuffer device\n");
     }
 
+    /* Allocate an xf86CrtcConfig */
+    xf86CrtcConfigInit(pScrn, &R128CRTCResizeFuncs);
+
     if (info->FBDev) {
        /* check for linux framebuffer device */
        if (!xf86LoadSubModule(pScrn, "fbdevhw")) return FALSE;
-- 
2.7.4

_______________________________________________
xorg-driver-ati mailing list
[email protected]
https://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to