mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
drm/tegra: gem: Make __tegra_gem_mmap() available more widely
This function allows mapping a GEM object into a virtual memory address space, which makes it useful outside of the GEM code. While at it, rename the function so it doesn't clash with the function that implements the DRM_TEGRA_GEM_MMAP IOCTL. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
b6d7974d10
commit
04c0746663
2 changed files with 4 additions and 4 deletions
|
@ -70,6 +70,7 @@ int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
|
|||
|
||||
extern const struct vm_operations_struct tegra_bo_vm_ops;
|
||||
|
||||
int __tegra_gem_mmap(struct drm_gem_object *gem, struct vm_area_struct *vma);
|
||||
int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
|
||||
|
||||
struct dma_buf *tegra_gem_prime_export(struct drm_device *drm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue