public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro•org>,
	Rob Clark <robdclark@gmail•com>,
	Sean Paul <seanpaul@chromium•org>
Cc: Jessica Zhang <quic_jesszhan@quicinc•com>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>,
	Rob Clark <robdclark@chromium•org>
Subject: linux-next: manual merge of the drm-msm-lumag tree with the drm-msm tree
Date: Fri, 31 Mar 2023 11:25:32 +1100	[thread overview]
Message-ID: <20230331112532.4727ce04@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2459 bytes --]

Hi all,

Today's linux-next merge of the drm-msm-lumag tree got a conflict in:

  drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c

between commit:

  52ff0d3073d2 ("drm/msm/atomic: Switch to vblank_start helper")

from the drm-msm tree and commit:

  f4d83f101233 ("drm/msm/dpu: Remove empty prepare_commit() function")

from the drm-msm-lumag tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
index 6cd7be500dfe,6944c1315085..000000000000
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@@ -411,26 -429,20 +429,6 @@@ static void dpu_kms_disable_commit(stru
  	pm_runtime_put_sync(&dpu_kms->pdev->dev);
  }
  
- static void dpu_kms_prepare_commit(struct msm_kms *kms,
- 		struct drm_atomic_state *state)
 -static ktime_t dpu_kms_vsync_time(struct msm_kms *kms, struct drm_crtc *crtc)
--{
- 	struct drm_crtc *crtc;
- 	struct drm_crtc_state *crtc_state;
--	struct drm_encoder *encoder;
- 	int i;
--
- 	if (!kms)
- 		return;
 -	drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) {
 -		ktime_t vsync_time;
--
- 	/* Call prepare_commit for all affected encoders */
- 	for_each_new_crtc_in_state(state, crtc, crtc_state, i) {
- 		drm_for_each_encoder_mask(encoder, crtc->dev,
- 					  crtc_state->encoder_mask) {
- 			dpu_encoder_prepare_commit(encoder);
- 		}
 -		if (dpu_encoder_vsync_time(encoder, &vsync_time) == 0)
 -			return vsync_time;
--	}
 -
 -	return ktime_get();
--}
--
  static void dpu_kms_flush_commit(struct msm_kms *kms, unsigned crtc_mask)
  {
  	struct dpu_kms *dpu_kms = to_dpu_kms(kms);
@@@ -939,7 -951,7 +937,6 @@@ static const struct msm_kms_funcs kms_f
  	.irq             = dpu_core_irq,
  	.enable_commit   = dpu_kms_enable_commit,
  	.disable_commit  = dpu_kms_disable_commit,
- 	.prepare_commit  = dpu_kms_prepare_commit,
 -	.vsync_time      = dpu_kms_vsync_time,
  	.flush_commit    = dpu_kms_flush_commit,
  	.wait_flush      = dpu_kms_wait_flush,
  	.complete_commit = dpu_kms_complete_commit,

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2023-03-31  0:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31  0:25 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-06  1:38 linux-next: manual merge of the drm-msm-lumag tree with the drm-msm tree Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230331112532.4727ce04@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=dmitry.baryshkov@linaro$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=quic_jesszhan@quicinc$(echo .)com \
    --cc=robdclark@chromium$(echo .)org \
    --cc=robdclark@gmail$(echo .)com \
    --cc=seanpaul@chromium$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox