diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-05-31 10:01:10 -0400 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-06-08 10:46:37 -0400 |
commit | df73789514554761ebdd87f2426938696a2442a2 (patch) | |
tree | 7b3a3ede0ab2ecb482cce455967e7b8285aed0bd /include/drm | |
parent | d99004d7201aa653658ff2390d6e516567c96ebc (diff) |
drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()
Prepare for moving drm_fb_helper modesetting code to drm_client.
drm_client will be linked to drm.ko, so move
__drm_atomic_helper_disable_plane() and __drm_atomic_helper_set_config()
out of drm_kms_helper.ko.
While at it, fix two checkpatch complaints:
- WARNING: Block comments use a trailing */ on a separate line
- CHECK: Alignment should match open parenthesis
v7: Declare drm_mode_set and drm_plane_state
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190531140117.37751-2-noralf@tronnes.org
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_atomic_helper.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h index 58214be3bf3d..bf4e07141d81 100644 --- a/include/drm/drm_atomic_helper.h +++ b/include/drm/drm_atomic_helper.h | |||
@@ -117,12 +117,8 @@ int drm_atomic_helper_update_plane(struct drm_plane *plane, | |||
117 | struct drm_modeset_acquire_ctx *ctx); | 117 | struct drm_modeset_acquire_ctx *ctx); |
118 | int drm_atomic_helper_disable_plane(struct drm_plane *plane, | 118 | int drm_atomic_helper_disable_plane(struct drm_plane *plane, |
119 | struct drm_modeset_acquire_ctx *ctx); | 119 | struct drm_modeset_acquire_ctx *ctx); |
120 | int __drm_atomic_helper_disable_plane(struct drm_plane *plane, | ||
121 | struct drm_plane_state *plane_state); | ||
122 | int drm_atomic_helper_set_config(struct drm_mode_set *set, | 120 | int drm_atomic_helper_set_config(struct drm_mode_set *set, |
123 | struct drm_modeset_acquire_ctx *ctx); | 121 | struct drm_modeset_acquire_ctx *ctx); |
124 | int __drm_atomic_helper_set_config(struct drm_mode_set *set, | ||
125 | struct drm_atomic_state *state); | ||
126 | 122 | ||
127 | int drm_atomic_helper_disable_all(struct drm_device *dev, | 123 | int drm_atomic_helper_disable_all(struct drm_device *dev, |
128 | struct drm_modeset_acquire_ctx *ctx); | 124 | struct drm_modeset_acquire_ctx *ctx); |