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