All of lore.kernel.org
 help / color / mirror / Atom feed
* [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
@ 2024-06-26 18:45 Dmitry Baryshkov
  2024-06-27  9:20 ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-06-26 18:45 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Daniel Stone
  Cc: dri-devel, Rob Clark

In order to improve testing of drm/msm branches, add drm-msm trees to
the list of the trees to be merged into drm-tip.

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/nightly.conf b/nightly.conf
index 49abf3fb2a72..f2e181aa29e2 100644
--- a/nightly.conf
+++ b/nightly.conf
@@ -47,6 +47,11 @@ git://anongit.freedesktop.org/drm-intel
 https://anongit.freedesktop.org/git/drm/drm-intel
 https://anongit.freedesktop.org/git/drm/drm-intel.git
 "
+drm_tip_repos[drm-msm]="
+git@gitlab.freedesktop.org:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://git@gitlab.freedesktop.org/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 git@gitlab.freedesktop.org:drm/misc/kernel.git
 https://gitlab.freedesktop.org/drm/misc/kernel.git
@@ -91,16 +96,19 @@ drm_tip_config=(
 	"drm-misc		drm-misc-fixes"
 	"drm-intel		drm-intel-fixes"
 	"drm-xe			drm-xe-fixes"
+	"drm-msm		msm-fixes"
 
 	"drm			drm-next"
 	"drm-misc		drm-misc-next-fixes"
 	"drm-intel		drm-intel-next-fixes"
 	"drm-xe			drm-xe-next-fixes"
+	#no msm-next-fixes in drm-msm
 
 	"drm-misc		drm-misc-next"
 	"drm-intel		drm-intel-next"
 	"drm-intel		drm-intel-gt-next"
 	"drm-xe			drm-xe-next"
+	"drm-msm		msm-next"
 
 	"drm-intel		topic/core-for-CI"
 	"drm-xe			topic/xe-for-CI"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
  2024-06-26 18:45 [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip Dmitry Baryshkov
@ 2024-06-27  9:20 ` Jani Nikula
  2024-06-27 18:26   ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2024-06-27  9:20 UTC (permalink / raw)
  To: Dmitry Baryshkov, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Daniel Stone
  Cc: dri-devel, Rob Clark

On Wed, 26 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> In order to improve testing of drm/msm branches, add drm-msm trees to
> the list of the trees to be merged into drm-tip.
>
> Cc: Rob Clark <robdclark@gmail.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

It also helps in avoiding conflicts!

Acked-by: Jani Nikula <jani.nikula@intel.com>

> ---
>  nightly.conf | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/nightly.conf b/nightly.conf
> index 49abf3fb2a72..f2e181aa29e2 100644
> --- a/nightly.conf
> +++ b/nightly.conf
> @@ -47,6 +47,11 @@ git://anongit.freedesktop.org/drm-intel
>  https://anongit.freedesktop.org/git/drm/drm-intel
>  https://anongit.freedesktop.org/git/drm/drm-intel.git
>  "
> +drm_tip_repos[drm-msm]="
> +git@gitlab.freedesktop.org:drm/msm.git
> +https://gitlab.freedesktop.org/drm/msm.git
> +ssh://git@gitlab.freedesktop.org/drm/msm.git
> +"
>  drm_tip_repos[drm-misc]="
>  git@gitlab.freedesktop.org:drm/misc/kernel.git
>  https://gitlab.freedesktop.org/drm/misc/kernel.git
> @@ -91,16 +96,19 @@ drm_tip_config=(
>  	"drm-misc		drm-misc-fixes"
>  	"drm-intel		drm-intel-fixes"
>  	"drm-xe			drm-xe-fixes"
> +	"drm-msm		msm-fixes"
>  
>  	"drm			drm-next"
>  	"drm-misc		drm-misc-next-fixes"
>  	"drm-intel		drm-intel-next-fixes"
>  	"drm-xe			drm-xe-next-fixes"
> +	#no msm-next-fixes in drm-msm
>  
>  	"drm-misc		drm-misc-next"
>  	"drm-intel		drm-intel-next"
>  	"drm-intel		drm-intel-gt-next"
>  	"drm-xe			drm-xe-next"
> +	"drm-msm		msm-next"
>  
>  	"drm-intel		topic/core-for-CI"
>  	"drm-xe			topic/xe-for-CI"

-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
  2024-06-27  9:20 ` Jani Nikula
@ 2024-06-27 18:26   ` Jani Nikula
  2024-06-28  8:54     ` Dmitry Baryshkov
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2024-06-27 18:26 UTC (permalink / raw)
  To: Dmitry Baryshkov, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Daniel Stone
  Cc: dri-devel, Rob Clark

On Thu, 27 Jun 2024, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> On Wed, 26 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
>> In order to improve testing of drm/msm branches, add drm-msm trees to
>> the list of the trees to be merged into drm-tip.
>>
>> Cc: Rob Clark <robdclark@gmail.com>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> It also helps in avoiding conflicts!
>
> Acked-by: Jani Nikula <jani.nikula@intel.com>

Oh, this is with the assumption that you'll also maintain the branches
with dim. I realized this was not spelled out, but I'm hoping it is the
case.

BR,
Jani.


>
>> ---
>>  nightly.conf | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/nightly.conf b/nightly.conf
>> index 49abf3fb2a72..f2e181aa29e2 100644
>> --- a/nightly.conf
>> +++ b/nightly.conf
>> @@ -47,6 +47,11 @@ git://anongit.freedesktop.org/drm-intel
>>  https://anongit.freedesktop.org/git/drm/drm-intel
>>  https://anongit.freedesktop.org/git/drm/drm-intel.git
>>  "
>> +drm_tip_repos[drm-msm]="
>> +git@gitlab.freedesktop.org:drm/msm.git
>> +https://gitlab.freedesktop.org/drm/msm.git
>> +ssh://git@gitlab.freedesktop.org/drm/msm.git
>> +"
>>  drm_tip_repos[drm-misc]="
>>  git@gitlab.freedesktop.org:drm/misc/kernel.git
>>  https://gitlab.freedesktop.org/drm/misc/kernel.git
>> @@ -91,16 +96,19 @@ drm_tip_config=(
>>  	"drm-misc		drm-misc-fixes"
>>  	"drm-intel		drm-intel-fixes"
>>  	"drm-xe			drm-xe-fixes"
>> +	"drm-msm		msm-fixes"
>>  
>>  	"drm			drm-next"
>>  	"drm-misc		drm-misc-next-fixes"
>>  	"drm-intel		drm-intel-next-fixes"
>>  	"drm-xe			drm-xe-next-fixes"
>> +	#no msm-next-fixes in drm-msm
>>  
>>  	"drm-misc		drm-misc-next"
>>  	"drm-intel		drm-intel-next"
>>  	"drm-intel		drm-intel-gt-next"
>>  	"drm-xe			drm-xe-next"
>> +	"drm-msm		msm-next"
>>  
>>  	"drm-intel		topic/core-for-CI"
>>  	"drm-xe			topic/xe-for-CI"

-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
  2024-06-27 18:26   ` Jani Nikula
@ 2024-06-28  8:54     ` Dmitry Baryshkov
  2024-06-28  9:21       ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-06-28  8:54 UTC (permalink / raw)
  To: Jani Nikula
  Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Daniel Stone, dri-devel, Rob Clark

On Thu, Jun 27, 2024 at 09:26:19PM GMT, Jani Nikula wrote:
> On Thu, 27 Jun 2024, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> > On Wed, 26 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> >> In order to improve testing of drm/msm branches, add drm-msm trees to
> >> the list of the trees to be merged into drm-tip.
> >>
> >> Cc: Rob Clark <robdclark@gmail.com>
> >> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >
> > It also helps in avoiding conflicts!
> >
> > Acked-by: Jani Nikula <jani.nikula@intel.com>
> 
> Oh, this is with the assumption that you'll also maintain the branches
> with dim. I realized this was not spelled out, but I'm hoping it is the
> case.

No, we use gitlab MRs in order to be able to pre-test patches. But it
doesn't stop anybody from running dim ub && dim push after merging an
MR.

> 
> BR,
> Jani.
> 
> 
> >
> >> ---
> >>  nightly.conf | 8 ++++++++
> >>  1 file changed, 8 insertions(+)
> >>
> >> diff --git a/nightly.conf b/nightly.conf
> >> index 49abf3fb2a72..f2e181aa29e2 100644
> >> --- a/nightly.conf
> >> +++ b/nightly.conf
> >> @@ -47,6 +47,11 @@ git://anongit.freedesktop.org/drm-intel
> >>  https://anongit.freedesktop.org/git/drm/drm-intel
> >>  https://anongit.freedesktop.org/git/drm/drm-intel.git
> >>  "
> >> +drm_tip_repos[drm-msm]="
> >> +git@gitlab.freedesktop.org:drm/msm.git
> >> +https://gitlab.freedesktop.org/drm/msm.git
> >> +ssh://git@gitlab.freedesktop.org/drm/msm.git
> >> +"
> >>  drm_tip_repos[drm-misc]="
> >>  git@gitlab.freedesktop.org:drm/misc/kernel.git
> >>  https://gitlab.freedesktop.org/drm/misc/kernel.git
> >> @@ -91,16 +96,19 @@ drm_tip_config=(
> >>  	"drm-misc		drm-misc-fixes"
> >>  	"drm-intel		drm-intel-fixes"
> >>  	"drm-xe			drm-xe-fixes"
> >> +	"drm-msm		msm-fixes"
> >>  
> >>  	"drm			drm-next"
> >>  	"drm-misc		drm-misc-next-fixes"
> >>  	"drm-intel		drm-intel-next-fixes"
> >>  	"drm-xe			drm-xe-next-fixes"
> >> +	#no msm-next-fixes in drm-msm
> >>  
> >>  	"drm-misc		drm-misc-next"
> >>  	"drm-intel		drm-intel-next"
> >>  	"drm-intel		drm-intel-gt-next"
> >>  	"drm-xe			drm-xe-next"
> >> +	"drm-msm		msm-next"
> >>  
> >>  	"drm-intel		topic/core-for-CI"
> >>  	"drm-xe			topic/xe-for-CI"
> 
> -- 
> Jani Nikula, Intel

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
  2024-06-28  8:54     ` Dmitry Baryshkov
@ 2024-06-28  9:21       ` Jani Nikula
  2024-06-28 18:09         ` Daniel Vetter
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2024-06-28  9:21 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Daniel Stone, dri-devel, Rob Clark

On Fri, 28 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> On Thu, Jun 27, 2024 at 09:26:19PM GMT, Jani Nikula wrote:
>> On Thu, 27 Jun 2024, Jani Nikula <jani.nikula@linux.intel.com> wrote:
>> > On Wed, 26 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
>> >> In order to improve testing of drm/msm branches, add drm-msm trees to
>> >> the list of the trees to be merged into drm-tip.
>> >>
>> >> Cc: Rob Clark <robdclark@gmail.com>
>> >> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> >
>> > It also helps in avoiding conflicts!
>> >
>> > Acked-by: Jani Nikula <jani.nikula@intel.com>
>> 
>> Oh, this is with the assumption that you'll also maintain the branches
>> with dim. I realized this was not spelled out, but I'm hoping it is the
>> case.
>
> No, we use gitlab MRs in order to be able to pre-test patches. But it
> doesn't stop anybody from running dim ub && dim push after merging an
> MR.

IMO that's not quite enough.

The main problem with this (from drm-tip and dim POV) is that you won't
notice if you push patches that cause conflicts in rebuilding
drm-tip. That's then left for the next person to figure out, and for
them it's completely unexpected.

We had this when AMD branches were part of drm-tip, and it really wasn't
much fun, because the burden and benefits were quite lopsided. It's the
main reason the branches were dropped.

Now, I think there's a non-trivial amount of people who want to see more
of gitlab MR based workflows. This is a problem we'll inevitably need to
tackle anyway. Perhaps rebuilding drm-tip could be a gitlab workflow,
triggered automatically when any of the branches are pushed? With
notifications for folks to figure out the conflicts. Maybe there could
be some linux-next like logic to use older branches until the conflicts
get fixed.


BR,
Jani.


>
>> 
>> BR,
>> Jani.
>> 
>> 
>> >
>> >> ---
>> >>  nightly.conf | 8 ++++++++
>> >>  1 file changed, 8 insertions(+)
>> >>
>> >> diff --git a/nightly.conf b/nightly.conf
>> >> index 49abf3fb2a72..f2e181aa29e2 100644
>> >> --- a/nightly.conf
>> >> +++ b/nightly.conf
>> >> @@ -47,6 +47,11 @@ git://anongit.freedesktop.org/drm-intel
>> >>  https://anongit.freedesktop.org/git/drm/drm-intel
>> >>  https://anongit.freedesktop.org/git/drm/drm-intel.git
>> >>  "
>> >> +drm_tip_repos[drm-msm]="
>> >> +git@gitlab.freedesktop.org:drm/msm.git
>> >> +https://gitlab.freedesktop.org/drm/msm.git
>> >> +ssh://git@gitlab.freedesktop.org/drm/msm.git
>> >> +"
>> >>  drm_tip_repos[drm-misc]="
>> >>  git@gitlab.freedesktop.org:drm/misc/kernel.git
>> >>  https://gitlab.freedesktop.org/drm/misc/kernel.git
>> >> @@ -91,16 +96,19 @@ drm_tip_config=(
>> >>  	"drm-misc		drm-misc-fixes"
>> >>  	"drm-intel		drm-intel-fixes"
>> >>  	"drm-xe			drm-xe-fixes"
>> >> +	"drm-msm		msm-fixes"
>> >>  
>> >>  	"drm			drm-next"
>> >>  	"drm-misc		drm-misc-next-fixes"
>> >>  	"drm-intel		drm-intel-next-fixes"
>> >>  	"drm-xe			drm-xe-next-fixes"
>> >> +	#no msm-next-fixes in drm-msm
>> >>  
>> >>  	"drm-misc		drm-misc-next"
>> >>  	"drm-intel		drm-intel-next"
>> >>  	"drm-intel		drm-intel-gt-next"
>> >>  	"drm-xe			drm-xe-next"
>> >> +	"drm-msm		msm-next"
>> >>  
>> >>  	"drm-intel		topic/core-for-CI"
>> >>  	"drm-xe			topic/xe-for-CI"
>> 
>> -- 
>> Jani Nikula, Intel

-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip
  2024-06-28  9:21       ` Jani Nikula
@ 2024-06-28 18:09         ` Daniel Vetter
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Vetter @ 2024-06-28 18:09 UTC (permalink / raw)
  To: Jani Nikula
  Cc: Dmitry Baryshkov, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Daniel Stone, dri-devel,
	Rob Clark

On Fri, Jun 28, 2024 at 12:21:32PM +0300, Jani Nikula wrote:
> On Fri, 28 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> > On Thu, Jun 27, 2024 at 09:26:19PM GMT, Jani Nikula wrote:
> >> On Thu, 27 Jun 2024, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> >> > On Wed, 26 Jun 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> >> >> In order to improve testing of drm/msm branches, add drm-msm trees to
> >> >> the list of the trees to be merged into drm-tip.
> >> >>
> >> >> Cc: Rob Clark <robdclark@gmail.com>
> >> >> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >> >
> >> > It also helps in avoiding conflicts!
> >> >
> >> > Acked-by: Jani Nikula <jani.nikula@intel.com>
> >> 
> >> Oh, this is with the assumption that you'll also maintain the branches
> >> with dim. I realized this was not spelled out, but I'm hoping it is the
> >> case.
> >
> > No, we use gitlab MRs in order to be able to pre-test patches. But it
> > doesn't stop anybody from running dim ub && dim push after merging an
> > MR.
> 
> IMO that's not quite enough.
> 
> The main problem with this (from drm-tip and dim POV) is that you won't
> notice if you push patches that cause conflicts in rebuilding
> drm-tip. That's then left for the next person to figure out, and for
> them it's completely unexpected.
> 
> We had this when AMD branches were part of drm-tip, and it really wasn't
> much fun, because the burden and benefits were quite lopsided. It's the
> main reason the branches were dropped.
> 
> Now, I think there's a non-trivial amount of people who want to see more
> of gitlab MR based workflows. This is a problem we'll inevitably need to
> tackle anyway. Perhaps rebuilding drm-tip could be a gitlab workflow,
> triggered automatically when any of the branches are pushed? With
> notifications for folks to figure out the conflicts. Maybe there could
> be some linux-next like logic to use older branches until the conflicts
> get fixed.

Yeah if the gitlab side just pushes without rebuilding drm-tip this isn't
going to work well and we'll need to go back. I was thinking that we
should be able to run dim rebuild-tip from gitlab CI flows, at least for
the cases where everything builds. If you need to fix things up you still
need to do a local run.

Even better would be if this runs pre-merge so that the MR fails to land
if there's new conflicts, but that's a bit more tricky.
-Sima
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-28 18:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 18:45 [rerere PATCH] nightly.conf: Merge drm-msm trees into drm-tip Dmitry Baryshkov
2024-06-27  9:20 ` Jani Nikula
2024-06-27 18:26   ` Jani Nikula
2024-06-28  8:54     ` Dmitry Baryshkov
2024-06-28  9:21       ` Jani Nikula
2024-06-28 18:09         ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.