Message ID | 20230221184256.1436-5-quic_jesszhan@quicinc.com |
---|---|
State | Accepted |
Commit | db1072e1c38cd874e6ab007359d4e1c0c4e05ce2 |
Headers | show |
Series | Move TE setup to prepare_for_kickoff() | expand |
On 2023-02-21 10:42:56, Jessica Zhang wrote: > Remove empty prepare_commit() function from MDP4 driver. > > Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c > index 9a1a0769575d..6e37072ed302 100644 > --- a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c > +++ b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c > @@ -84,10 +84,6 @@ static void mdp4_disable_commit(struct msm_kms *kms) > mdp4_disable(mdp4_kms); > } > > -static void mdp4_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) > -{ > -} > - > static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) > { > /* TODO */ > @@ -154,7 +150,6 @@ static const struct mdp_kms_funcs kms_funcs = { > .disable_vblank = mdp4_disable_vblank, > .enable_commit = mdp4_enable_commit, > .disable_commit = mdp4_disable_commit, > - .prepare_commit = mdp4_prepare_commit, > .flush_commit = mdp4_flush_commit, > .wait_flush = mdp4_wait_flush, > .complete_commit = mdp4_complete_commit, > -- > 2.39.2 >
diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c index 9a1a0769575d..6e37072ed302 100644 --- a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c +++ b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c @@ -84,10 +84,6 @@ static void mdp4_disable_commit(struct msm_kms *kms) mdp4_disable(mdp4_kms); } -static void mdp4_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) -{ -} - static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) { /* TODO */ @@ -154,7 +150,6 @@ static const struct mdp_kms_funcs kms_funcs = { .disable_vblank = mdp4_disable_vblank, .enable_commit = mdp4_enable_commit, .disable_commit = mdp4_disable_commit, - .prepare_commit = mdp4_prepare_commit, .flush_commit = mdp4_flush_commit, .wait_flush = mdp4_wait_flush, .complete_commit = mdp4_complete_commit,