diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-18 16:49:02 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-05 07:55:30 -0500 |
commit | a97df1ccd3c30f16385696964767adf854878021 (patch) | |
tree | d36d59601c6fdf4828d8d8ef656e7ee546c9c2e5 /include/drm | |
parent | d34f20d6e2f21bd3531b969dc40913181a8ae31a (diff) |
drm/atomic: Hide drm.ko internal interfaces
This is just a bit fallout from patch polishing and moving the
get_prop logic fully into the core:
- Drop EXPORT_SYMBOL and make the helpers static.
- Drop kerneldoc since not used by drivers.
- Move the cross-file function declarations only used by drm.ko
internally to an internal header.
v2: keep the gist of the comments, requested by Rob.
Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_atomic.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index 231fb485abb3..51168a8b723a 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h | |||
@@ -41,30 +41,18 @@ drm_atomic_get_crtc_state(struct drm_atomic_state *state, | |||
41 | int drm_atomic_crtc_set_property(struct drm_crtc *crtc, | 41 | int drm_atomic_crtc_set_property(struct drm_crtc *crtc, |
42 | struct drm_crtc_state *state, struct drm_property *property, | 42 | struct drm_crtc_state *state, struct drm_property *property, |
43 | uint64_t val); | 43 | uint64_t val); |
44 | int drm_atomic_crtc_get_property(struct drm_crtc *crtc, | ||
45 | const struct drm_crtc_state *state, | ||
46 | struct drm_property *property, uint64_t *val); | ||
47 | struct drm_plane_state * __must_check | 44 | struct drm_plane_state * __must_check |
48 | drm_atomic_get_plane_state(struct drm_atomic_state *state, | 45 | drm_atomic_get_plane_state(struct drm_atomic_state *state, |
49 | struct drm_plane *plane); | 46 | struct drm_plane *plane); |
50 | int drm_atomic_plane_set_property(struct drm_plane *plane, | 47 | int drm_atomic_plane_set_property(struct drm_plane *plane, |
51 | struct drm_plane_state *state, struct drm_property *property, | 48 | struct drm_plane_state *state, struct drm_property *property, |
52 | uint64_t val); | 49 | uint64_t val); |
53 | int drm_atomic_plane_get_property(struct drm_plane *plane, | ||
54 | const struct drm_plane_state *state, | ||
55 | struct drm_property *property, uint64_t *val); | ||
56 | struct drm_connector_state * __must_check | 50 | struct drm_connector_state * __must_check |
57 | drm_atomic_get_connector_state(struct drm_atomic_state *state, | 51 | drm_atomic_get_connector_state(struct drm_atomic_state *state, |
58 | struct drm_connector *connector); | 52 | struct drm_connector *connector); |
59 | int drm_atomic_connector_set_property(struct drm_connector *connector, | 53 | int drm_atomic_connector_set_property(struct drm_connector *connector, |
60 | struct drm_connector_state *state, struct drm_property *property, | 54 | struct drm_connector_state *state, struct drm_property *property, |
61 | uint64_t val); | 55 | uint64_t val); |
62 | int drm_atomic_connector_get_property(struct drm_connector *connector, | ||
63 | const struct drm_connector_state *state, | ||
64 | struct drm_property *property, uint64_t *val); | ||
65 | |||
66 | int drm_atomic_get_property(struct drm_mode_object *obj, | ||
67 | struct drm_property *property, uint64_t *val); | ||
68 | 56 | ||
69 | int __must_check | 57 | int __must_check |
70 | drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state, | 58 | drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state, |