| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2012 Russell King |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | #ifndef ARMADA_GEM_H |
|---|
| 9 | 6 | #define ARMADA_GEM_H |
|---|
| .. | .. |
|---|
| 35 | 32 | size_t); |
|---|
| 36 | 33 | int armada_gem_dumb_create(struct drm_file *, struct drm_device *, |
|---|
| 37 | 34 | struct drm_mode_create_dumb *); |
|---|
| 38 | | -struct dma_buf *armada_gem_prime_export(struct drm_device *dev, |
|---|
| 39 | | - struct drm_gem_object *obj, int flags); |
|---|
| 35 | +struct dma_buf *armada_gem_prime_export(struct drm_gem_object *obj, int flags); |
|---|
| 40 | 36 | struct drm_gem_object *armada_gem_prime_import(struct drm_device *, |
|---|
| 41 | 37 | struct dma_buf *); |
|---|
| 42 | 38 | int armada_gem_map_import(struct armada_gem_object *); |
|---|