diff options
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r-- | src/nv_driver.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index 5b9a9ca..b5cb7b3 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -2092,6 +2092,14 @@ NVScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) if (!NVDRIScreenInit(pScrn)) return FALSE; + ret = drmCommandNone(pNv->drm_fd, DRM_NOUVEAU_CARD_INIT); + if (ret) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, + "Error initialising the nouveau kernel module: %d\n", + ret); + return FALSE; + } + /* Allocate and map memory areas we need */ if (!NVMapMem(pScrn)) return FALSE; |