Rev 5060 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5060 | Rev 6084 | ||
---|---|---|---|
1 | /* |
1 | /* |
2 | * Copyright © 2006 Keith Packard |
2 | * Copyright © 2006 Keith Packard |
3 | * Copyright © 2007-2008 Dave Airlie |
3 | * Copyright © 2007-2008 Dave Airlie |
4 | * Copyright © 2007-2008 Intel Corporation |
4 | * Copyright © 2007-2008 Intel Corporation |
5 | * Jesse Barnes |
5 | * Jesse Barnes |
6 | * Copyright © 2014 Intel Corporation |
6 | * Copyright © 2014 Intel Corporation |
7 | * Daniel Vetter |
7 | * Daniel Vetter |
8 | * |
8 | * |
9 | * Permission is hereby granted, free of charge, to any person obtaining a |
9 | * Permission is hereby granted, free of charge, to any person obtaining a |
10 | * copy of this software and associated documentation files (the "Software"), |
10 | * copy of this software and associated documentation files (the "Software"), |
11 | * to deal in the Software without restriction, including without limitation |
11 | * to deal in the Software without restriction, including without limitation |
12 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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 |
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: |
14 | * Software is furnished to do so, subject to the following conditions: |
15 | * |
15 | * |
16 | * The above copyright notice and this permission notice shall be included in |
16 | * The above copyright notice and this permission notice shall be included in |
17 | * all copies or substantial portions of the Software. |
17 | * all copies or substantial portions of the Software. |
18 | * |
18 | * |
19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
20 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
21 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
21 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
22 | * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR |
22 | * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR |
23 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
23 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
24 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
24 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
25 | * OTHER DEALINGS IN THE SOFTWARE. |
25 | * OTHER DEALINGS IN THE SOFTWARE. |
26 | */ |
26 | */ |
27 | 27 | ||
28 | /* |
28 | /* |
29 | * This header file contains mode setting related functions and definitions |
29 | * This header file contains mode setting related functions and definitions |
30 | * which are only used within the drm module as internal implementation details |
30 | * which are only used within the drm module as internal implementation details |
31 | * and are not exported to drivers. |
31 | * and are not exported to drivers. |
32 | */ |
32 | */ |
33 | 33 | ||
34 | int drm_mode_object_get(struct drm_device *dev, |
34 | int drm_mode_object_get(struct drm_device *dev, |
35 | struct drm_mode_object *obj, uint32_t obj_type); |
35 | struct drm_mode_object *obj, uint32_t obj_type); |
36 | void drm_mode_object_put(struct drm_device *dev, |
36 | void drm_mode_object_put(struct drm_device *dev, |
37 | struct drm_mode_object *object); |
37 | struct drm_mode_object *object); |
- | 38 | ||
- | 39 | /* drm_atomic.c */ |
|
- | 40 | int drm_atomic_get_property(struct drm_mode_object *obj, |
|
- | 41 | struct drm_property *property, uint64_t *val); |
|
- | 42 | int drm_mode_atomic_ioctl(struct drm_device *dev, |
|
- | 43 | void *data, struct drm_file *file_priv); |