Merge tag 'drm-intel-gt-next-2020-11-12-1' of git://anongit.freedesktop.org/drm/drm...
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / i915_user_extensions.h
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 */