drm/atomic-helper: Realign function parameters
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jun 2017 14:59:36 +0000 (16:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Jul 2017 15:16:00 +0000 (17:16 +0200)
Too jarring.

Fixes: f869a6ecf254 ("drm/atomic: Add target_vblank support in atomic helpers (v2)")
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170627145936.18983-14-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_helper.c

index 4f6e52961951741459c54e9ad53f090a99bd034b..667ec97d4efb99651651b3b53d6835f2f68f04bd 100644 (file)
@@ -3087,12 +3087,11 @@ backoff:
 }
 EXPORT_SYMBOL(drm_atomic_helper_connector_set_property);
 
-static int page_flip_common(
-                               struct drm_atomic_state *state,
-                               struct drm_crtc *crtc,
-                               struct drm_framebuffer *fb,
-                               struct drm_pending_vblank_event *event,
-                               uint32_t flags)
+static int page_flip_common(struct drm_atomic_state *state,
+                           struct drm_crtc *crtc,
+                           struct drm_framebuffer *fb,
+                           struct drm_pending_vblank_event *event,
+                           uint32_t flags)
 {
        struct drm_plane *plane = crtc->primary;
        struct drm_plane_state *plane_state;
@@ -3186,13 +3185,12 @@ EXPORT_SYMBOL(drm_atomic_helper_page_flip);
  * Returns:
  * Returns 0 on success, negative errno numbers on failure.
  */
-int drm_atomic_helper_page_flip_target(
-                               struct drm_crtc *crtc,
-                               struct drm_framebuffer *fb,
-                               struct drm_pending_vblank_event *event,
-                               uint32_t flags,
-                               uint32_t target,
-                               struct drm_modeset_acquire_ctx *ctx)
+int drm_atomic_helper_page_flip_target(struct drm_crtc *crtc,
+                                      struct drm_framebuffer *fb,
+                                      struct drm_pending_vblank_event *event,
+                                      uint32_t flags,
+                                      uint32_t target,
+                                      struct drm_modeset_acquire_ctx *ctx)
 {
        struct drm_plane *plane = crtc->primary;
        struct drm_atomic_state *state;