xref: /openbsd-src/sys/dev/pci/drm/include/drm/drm_accel.h (revision 7fa9f350214e652adb36faba5e48878b2557a5ae)
1 /* Public domain. */
2 
3 #ifndef _DRM_ACCEL_H
4 #define _DRM_ACCEL_H
5 
6 #include <drm/drm_file.h>
7 
8 #define ACCEL_MAX_MINORS	256
9 
10 static inline int
11 accel_minor_alloc(void)
12 {
13 	return -ENOSYS;
14 }
15 
16 static inline void
17 accel_minor_remove(int i)
18 {
19 }
20 
21 static inline void
22 accel_minor_replace(struct drm_minor *m, int i)
23 {
24 }
25 
26 static inline int
27 accel_core_init(void)
28 {
29 	return 0;
30 }
31 
32 static inline void
33 accel_core_exit(void)
34 {
35 }
36 
37 #endif
38