summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_user_extensions.h
blob: a14bf6bba9a1f7e5b1e710ef970aea3bd0731637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright © 2018 Intel Corporation
 */

#ifndef I915_USER_EXTENSIONS_H
#define I915_USER_EXTENSIONS_H

struct i915_user_extension;

typedef int (*i915_user_extension_fn)(struct i915_user_extension __user *ext,
				      void *data);

int i915_user_extensions(struct i915_user_extension __user *ext,
			 const i915_user_extension_fn *tbl,
			 unsigned int count,
			 void *data);

#endif /* I915_USER_EXTENSIONS_H */