#include "drmtest.h"
#include "intel_chipset.h"
-#define OBJECT_SIZE 1024*1024*4
+#define OBJECT_SIZE 4096
#define COPY_BLT_CMD (2<<29|0x53<<22|0x6)
#define BLT_WRITE_ALPHA (1<<21)
b++;
*b++ = 0xcc << 16 | 1 << 25 | 1 << 24 | (4*1024);
*b++ = 0;
- *b++ = 512 << 16 | 1024;
+ *b++ = 1 << 16 | 1024;
reloc[0].offset = (b - buf) * sizeof(*b);
reloc[0].target_handle = handle;
if (handle == 0)
return 0;
- selfcopy(fd, handle, 30);
+ selfcopy(fd, handle, 100);
return handle;
}
if (create.handle == 0)
continue;
- selfcopy(t->fds[n], create.handle, 10);
+ selfcopy(t->fds[n], create.handle, 100);
drmIoctl(t->fds[n], DRM_IOCTL_GEM_CLOSE, &create.handle);
}
if (create.handle == 0)
continue;
- selfcopy(t->fds[n], create.handle, 1);
+ selfcopy(t->fds[n], create.handle, 10);
busy.handle = create.handle;
drmIoctl(t->fds[n], DRM_IOCTL_I915_GEM_BUSY, &busy);