printf( "No driver available\n" );
}
}
-
-void handler(int fd, void *oldctx, void *newctx)
-{
- printf("Got fd %d\n", fd);
-}
static void process_sigio(char *device)
{
}
sigio_fd = fd;
- /* drmInstallSIGIOHandler(fd, handler); */
for (;;) sleep(60);
}
return r;
}
-void DRM_PRINTFLIKE(4, 0)
-xf86VDrvMsgVerb(int scrnIndex, int type, int verb, const char *format,
- va_list args)
-{
- vfprintf(stderr, format, args);
-}
-
int xf86ConfigDRI[10];
* If any other failure happened then it will output error mesage using
* drmMsg() call.
*/
+#if !defined(UDEV)
static int chown_check_return(const char *path, uid_t owner, gid_t group)
{
int rv;
path, errno, strerror(errno));
return -1;
}
+#endif
/**
* Open the DRM device, creating it if necessary.