Lines Matching defs:file

49 				struct drm_file *file);
190 i915_gem_create(struct drm_file *file,
208 ret = drm_gem_handle_create(file, &obj->base, &handle);
224 i915_gem_dumb_create(struct drm_file *file,
231 return i915_gem_create(file, dev,
235 int i915_gem_dumb_destroy(struct drm_file *file,
239 return drm_gem_handle_delete(file, handle);
249 return i915_gem_create(file, dev,
355 * shmem_page_index = page number within shmem file
356 * shmem_page_offset = offset within page in shmem file
414 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
430 ret = i915_gem_shmem_pread(dev, obj, args, file);
539 * shmem_page_index = page number within shmem file
540 * shmem_page_offset = offset within page in shmem file
602 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
627 ret = i915_gem_phys_pwrite(dev, obj, args, file);
634 ret = i915_gem_gtt_pwrite_fast(dev, obj, args, file);
645 ret = i915_gem_shmem_pwrite(dev, obj, args, file);
931 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
980 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
1016 obj = drm_gem_object_lookup(dev, file, args->handle);
1235 i915_gem_mmap_gtt(struct drm_file *file,
1248 obj = to_intel_bo(drm_gem_object_lookup(dev, file, handle));
1295 return i915_gem_mmap_gtt(file, dev, args->handle, &args->offset);
1536 struct drm_file *file,
1598 if (file) {
1599 struct drm_i915_file_private *file_priv = file->driver_priv;
2003 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->bo_handle));
2880 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
2916 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3061 i915_gem_ring_throttle(struct drm_device *dev, struct drm_file *file)
3064 struct drm_i915_file_private *file_priv = file->driver_priv;
3170 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3176 if (obj->pin_filp != NULL && obj->pin_filp != file) {
3184 obj->pin_filp = file;
3215 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3221 if (obj->pin_filp != file) {
3252 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3280 return i915_gem_ring_throttle(dev, file);
3983 void i915_gem_release(struct drm_device * dev, struct drm_file *file)
3985 struct drm_i915_file_private *file_priv = file->driver_priv;