Rev 5060 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4104 | Serge | 1 | /* |
5060 | serge | 2 | * Created: Fri Jan 19 10:48:35 2001 by faith@acm.org |
4104 | Serge | 3 | * |
5060 | serge | 4 | * Copyright 2001 VA Linux Systems, Inc., Sunnyvale, California. |
4104 | Serge | 5 | * All Rights Reserved. |
6 | * |
||
5060 | serge | 7 | * Author Rickard E. (Rik) Faith |
8 | * |
||
4104 | Serge | 9 | * Permission is hereby granted, free of charge, to any person obtaining a |
10 | * copy of this software and associated documentation files (the "Software"), |
||
11 | * to deal in the Software without restriction, including without limitation |
||
12 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
||
13 | * and/or sell copies of the Software, and to permit persons to whom the |
||
14 | * Software is furnished to do so, subject to the following conditions: |
||
15 | * |
||
16 | * The above copyright notice and this permission notice (including the next |
||
17 | * paragraph) shall be included in all copies or substantial portions of the |
||
18 | * Software. |
||
19 | * |
||
20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||
21 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||
22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
||
5060 | serge | 23 | * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
4104 | Serge | 24 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
5060 | serge | 25 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
26 | * DEALINGS IN THE SOFTWARE. |
||
4104 | Serge | 27 | */ |
28 | |||
6084 | serge | 29 | #include |
30 | #include |
||
4104 | Serge | 31 | #include |
32 | #include |
||
33 | #include |
||
34 | #include |
||
35 | |||
6084 | serge | 36 | bool drm_atomic = 0; |
4104 | Serge | 37 | |
38 | static int drm_version(struct drm_device *dev, void *data, |
||
39 | struct drm_file *file_priv); |
||
40 | |||
41 | |||
42 | int drm_core_init(void) |
||
43 | { |
||
44 | int ret = -ENOMEM; |
||
45 | |||
46 | drm_global_init(); |
||
47 | drm_connector_ida_init(); |
||
48 | // idr_init(&drm_minors_idr); |
||
49 | return 0; |
||
50 | } |
||
51 |