hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/ipu-v3/ipu-prv.h
....@@ -1,16 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2010 Sascha Hauer <s.hauer@pengutronix.de>
34 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation; either version 2 of the License, or (at your
8
- * option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful, but
11
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
- * for more details.
145 */
156 #ifndef __IPU_PRV_H__
167 #define __IPU_PRV_H__
....@@ -272,6 +263,7 @@
272263 unsigned int height, unsigned int stride, u32 format,
273264 uint64_t modifier, unsigned int bufaddr);
274265 void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr);
266
+bool ipu_pre_update_pending(struct ipu_pre *pre);
275267
276268 struct ipu_prg *ipu_prg_lookup_by_phandle(struct device *dev, const char *name,
277269 int ipu_id);