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