| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * omap_gem.h -- OMAP DRM GEM Object Management |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2011 Texas Instruments |
|---|
| 5 | 6 | * Author: Rob Clark <rob@ti.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 9 | | - * the Free Software Foundation. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 12 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 13 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 14 | | - * more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 17 | | - * this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 18 | 7 | */ |
|---|
| 19 | 8 | |
|---|
| 20 | 9 | #ifndef __OMAPDRM_GEM_H__ |
|---|
| .. | .. |
|---|
| 76 | 65 | size_t omap_gem_mmap_size(struct drm_gem_object *obj); |
|---|
| 77 | 66 | |
|---|
| 78 | 67 | /* PRIME Interface */ |
|---|
| 79 | | -struct dma_buf *omap_gem_prime_export(struct drm_device *dev, |
|---|
| 80 | | - struct drm_gem_object *obj, int flags); |
|---|
| 68 | +struct dma_buf *omap_gem_prime_export(struct drm_gem_object *obj, int flags); |
|---|
| 81 | 69 | struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev, |
|---|
| 82 | 70 | struct dma_buf *buffer); |
|---|
| 83 | 71 | |
|---|