summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_gem_prime.h
blob: 34b4d35c21e3eca9c1a0826ae340b34348e5041d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */

#ifndef __LIMA_GEM_PRIME_H__
#define __LIMA_GEM_PRIME_H__

struct drm_gem_object *lima_gem_prime_import_sg_table(
	struct drm_device *dev, struct dma_buf_attachment *attach,
	struct sg_table *sgt);
struct sg_table *lima_gem_prime_get_sg_table(struct drm_gem_object *obj);
int lima_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);

#endif