lineage_kernel_xcoverpro/drivers/gpu/exynos/g2d/g2d_uapi_process.h

31 lines
1.0 KiB
C
Raw Normal View History

2023-06-18 22:53:49 +00:00
/*
* 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_ */