Lines Matching defs:pin
1598 struct drm_i915_gem_pin pin;
1601 VG_CLEAR(pin);
1603 pin.handle = gem_create(kgem->fd, size[n]);
1604 if (pin.handle == 0)
1608 __FUNCTION__, pin.handle, size[n]));
1610 bo = __kgem_bo_alloc(pin.handle, size[n]);
1612 gem_close(kgem->fd, pin.handle);
1616 pin.alignment = 0;
1617 ret = do_ioctl(kgem->fd, DRM_IOCTL_I915_GEM_PIN, &pin);
1619 gem_close(kgem->fd, pin.handle);
1623 bo->presumed_offset = pin.offset;
1640 /* If we fail to pin some memory for 830gm/845g, we need to disable
2081 /* Limited to what we can pin */