1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2018 Intel Corporation
5  */
6 
7 #ifndef I915_USER_EXTENSIONS_H
8 #define I915_USER_EXTENSIONS_H
9 
10 struct i915_user_extension;
11 
12 typedef int (*i915_user_extension_fn)(struct i915_user_extension __user *ext,
13 				      void *data);
14 
15 int i915_user_extensions(struct i915_user_extension __user *ext,
16 			 const i915_user_extension_fn *tbl,
17 			 unsigned int count,
18 			 void *data);
19 
20 #endif /* I915_USER_EXTENSIONS_H */
21