gem.h (cf40a76e7d5874bb25f4404eecc58a2e033af885) gem.h (b6d7974d10b30bf3baed7e50d8e574f5184cfdd1)
1/*
2 * Tegra host1x GEM implementation
3 *
4 * Copyright (c) 2012-2013, NVIDIA Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 54 unchanged lines hidden (view full) ---

63 struct drm_device *drm,
64 size_t size,
65 unsigned long flags,
66 u32 *handle);
67void tegra_bo_free_object(struct drm_gem_object *gem);
68int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
69 struct drm_mode_create_dumb *args);
70
1/*
2 * Tegra host1x GEM implementation
3 *
4 * Copyright (c) 2012-2013, NVIDIA Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 54 unchanged lines hidden (view full) ---

63 struct drm_device *drm,
64 size_t size,
65 unsigned long flags,
66 u32 *handle);
67void tegra_bo_free_object(struct drm_gem_object *gem);
68int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
69 struct drm_mode_create_dumb *args);
70
71int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
72
73extern const struct vm_operations_struct tegra_bo_vm_ops;
74
71extern const struct vm_operations_struct tegra_bo_vm_ops;
72
73int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
74
75struct dma_buf *tegra_gem_prime_export(struct drm_device *drm,
76 struct drm_gem_object *gem,
77 int flags);
78struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm,
79 struct dma_buf *buf);
80
81#endif
75struct dma_buf *tegra_gem_prime_export(struct drm_device *drm,
76 struct drm_gem_object *gem,
77 int flags);
78struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm,
79 struct dma_buf *buf);
80
81#endif