diff options
author | Eric Anholt <eric@anholt.net> | 2009-07-01 15:54:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-08 08:57:33 -0700 |
commit | 6337cd23e692cae789d07f429442c425c18e1d4f (patch) | |
tree | 7da315bd8329c4773248f70046ef8daec61d2031 | |
parent | 216d939858abc924f2e32c95518f937f29ea018e (diff) |
Initialize the other argument to drmSetInterfaceVersion.
The kernel ignores it if dd_major is -1, anyway.
-rw-r--r-- | src/i830_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 8986368e..257bd6ca 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1460,6 +1460,7 @@ i830_open_drm_master(ScrnInfoPtr scrn) sv.drm_di_major = 1; sv.drm_di_minor = 1; sv.drm_dd_major = -1; + sv.drm_dd_minor = -1; err = drmSetInterfaceVersion(i830->drmSubFD, &sv); if (err != 0) { xf86DrvMsg(scrn->scrnIndex, X_ERROR, |