drm/msm/dpu: remove unused arg
authorRob Clark <robdclark@chromium.org>
Fri, 23 Aug 2019 04:00:11 +0000 (21:00 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 3 Sep 2019 23:17:01 +0000 (16:17 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h

index 68d27a1bb2a496ce5567510bf03e52810b164b96..4559b16c0b84cb611736f8595af755b539a16b80 100644 (file)
@@ -636,7 +636,7 @@ void dpu_crtc_commit_kickoff(struct drm_crtc *crtc, bool async)
         */
        drm_for_each_encoder_mask(encoder, crtc->dev,
                                  crtc->state->encoder_mask)
-               dpu_encoder_prepare_for_kickoff(encoder, async);
+               dpu_encoder_prepare_for_kickoff(encoder);
 
        if (!async) {
                /* wait for previous frame_event_done completion */
index 9876535b24260389a8ac055fca0d642922a43e4a..feb2a45de96a1bed8aafad723e8f19baed65ea68 100644 (file)
@@ -1782,7 +1782,7 @@ static void dpu_encoder_vsync_event_work_handler(struct kthread_work *work)
                        nsecs_to_jiffies(ktime_to_ns(wakeup_time)));
 }
 
-void dpu_encoder_prepare_for_kickoff(struct drm_encoder *drm_enc, bool async)
+void dpu_encoder_prepare_for_kickoff(struct drm_encoder *drm_enc)
 {
        struct dpu_encoder_virt *dpu_enc;
        struct dpu_encoder_phys *phys;
index a8bf1147fc56342f4132051f5de4a6073b15ba94..997d131c2440c1cc9b9261030aea46545396c936 100644 (file)
@@ -68,9 +68,8 @@ void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder,
  *     Immediately: if no previous commit is outstanding.
  *     Delayed: Block until next trigger can be issued.
  * @encoder:   encoder pointer
- * @async:     true if this is an asynchronous commit
  */
-void dpu_encoder_prepare_for_kickoff(struct drm_encoder *encoder,  bool async);
+void dpu_encoder_prepare_for_kickoff(struct drm_encoder *encoder);
 
 /**
  * dpu_encoder_trigger_kickoff_pending - Clear the flush bits from previous