Commit 0c91ed51 authored by Rob Clark's avatar Rob Clark

drm/msm/dpu: remove unused arg

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 33e42bf6
...@@ -636,7 +636,7 @@ void dpu_crtc_commit_kickoff(struct drm_crtc *crtc, bool async) ...@@ -636,7 +636,7 @@ void dpu_crtc_commit_kickoff(struct drm_crtc *crtc, bool async)
*/ */
drm_for_each_encoder_mask(encoder, crtc->dev, drm_for_each_encoder_mask(encoder, crtc->dev,
crtc->state->encoder_mask) crtc->state->encoder_mask)
dpu_encoder_prepare_for_kickoff(encoder, async); dpu_encoder_prepare_for_kickoff(encoder);
if (!async) { if (!async) {
/* wait for previous frame_event_done completion */ /* wait for previous frame_event_done completion */
......
...@@ -1782,7 +1782,7 @@ static void dpu_encoder_vsync_event_work_handler(struct kthread_work *work) ...@@ -1782,7 +1782,7 @@ static void dpu_encoder_vsync_event_work_handler(struct kthread_work *work)
nsecs_to_jiffies(ktime_to_ns(wakeup_time))); 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_virt *dpu_enc;
struct dpu_encoder_phys *phys; struct dpu_encoder_phys *phys;
......
...@@ -68,9 +68,8 @@ void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder, ...@@ -68,9 +68,8 @@ void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder,
* Immediately: if no previous commit is outstanding. * Immediately: if no previous commit is outstanding.
* Delayed: Block until next trigger can be issued. * Delayed: Block until next trigger can be issued.
* @encoder: encoder pointer * @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 * dpu_encoder_trigger_kickoff_pending - Clear the flush bits from previous
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment