#include <sys/stat.h>
#include <sys/time.h>
#include <sys/ioctl.h>
-#include <sys/mman.h>
#include "drm.h"
-#include "i915_drm.h"
+#include "ioctl_wrappers.h"
#include "drmtest.h"
-#include "intel_gpu_tools.h"
+#include "intel_io.h"
#define OBJ_SIZE (1024*1024)
return handle;
}
-int
-main(int argc, char **argv)
+igt_simple_main
{
int fd;
int i;
igt_assert(ptr[i] == i);
close(fd);
-
- return 0;
}