Lines Matching defs:pin
1296 struct drm_i915_gem_pin pin;
1299 VG_CLEAR(pin);
1301 pin.handle = gem_create(kgem->fd, size[n]);
1302 if (pin.handle == 0)
1306 __FUNCTION__, pin.handle, size[n]));
1308 bo = __kgem_bo_alloc(pin.handle, size[n]);
1310 gem_close(kgem->fd, pin.handle);
1314 pin.alignment = 0;
1315 if (do_ioctl(kgem->fd, DRM_IOCTL_I915_GEM_PIN, &pin)) {
1316 gem_close(kgem->fd, pin.handle);
1320 bo->presumed_offset = pin.offset;
1614 /* Limited to what we can pin */