summaryrefstree
path: root/kernel/drivers/gpu/exynos/g2d/g2d_uapi_process.h
blob: 61cb32f3d4d12e5f3ed0a3d94dc124ff3a9b24c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * linux/drivers/gpu/exynos/g2d/g2d_uapi_process.h
 *
 * Copyright (C) 2017 Samsung Electronics Co., Ltd.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 */

#ifndef _G2D_UAPI_PROCESS_H_
#define _G2D_UAPI_PROCESS_H_

#include "g2d_uapi.h"

struct g2d_device;
struct g2d_task;

int g2d_get_userdata(struct g2d_device *g2d_dev, struct g2d_context *ctx,
		     struct g2d_task *task, struct g2d_task_data *data);
void g2d_put_images(struct g2d_device *g2d_dev, struct g2d_task *task);
int g2d_wait_put_user(struct g2d_device *g2d_dev, struct g2d_task *task,
		      struct g2d_task_data __user *uptr, u32 userflag);

#endif /* _G2D_UAPI_PROCESS_H_ */