Skip to contentSkip to conversation

nightly.conf: Merge drm-msm trees into drm-tip

PATCH In review Dmitry Baryshkov 3 participants 6 messages Jun 26, 2024 – Jun 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nightly.conf: Merge drm-msm trees into drm-tip

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.

---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
nightly.conf +8 -0
index 49abf3fb2a72..f2e181aa29e2 100644
@@ -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]="
[email protected]:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://[email protected]/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 [email protected]: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"
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Dmitry Baryshkov

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.

It also helps in avoiding conflicts!

Quoted 40 lines
---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
nightly.conf +8 -0
index 49abf3fb2a72..f2e181aa29e2 100644
@@ -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]="
[email protected]:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://[email protected]/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 [email protected]: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"
Signature · 1 line
Jani Nikula, Intel
#2 lore raw
Quoted 10 lines · Jani Nikula
Quoted 5 lines · Dmitry Baryshkov

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.

It also helps in avoiding conflicts!

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.

Quoted 41 lines
Quoted 41 lines
---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
nightly.conf +8 -0
index 49abf3fb2a72..f2e181aa29e2 100644
@@ -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]="
[email protected]:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://[email protected]/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 [email protected]: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"
Signature · 1 line
Jani Nikula, Intel
#3 lore raw
Quoted 8 lines · Jani Nikula
Quoted 7 lines · Jani Nikula
Quoted 5 lines · Dmitry Baryshkov

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.

Quoted 7 lines
Quoted 3 lines

It also helps in avoiding conflicts!

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.

Quoted 49 lines

BR,
Jani.

Quoted 41 lines
Quoted 41 lines
---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
nightly.conf +8 -0
index 49abf3fb2a72..f2e181aa29e2 100644
@@ -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]="
[email protected]:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://[email protected]/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 [email protected]: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"
Signature · 1 line
Jani Nikula, Intel
Signature · 2 lines
With best wishes
Dmitry
#4 lore raw
Quoted 13 lines · Dmitry Baryshkov
Quoted 12 lines · Jani Nikula
Quoted 10 lines · Jani Nikula
Quoted 5 lines · Dmitry Baryshkov

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.

It also helps in avoiding conflicts!

Quoted 7 lines
Quoted 3 lines

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.

Quoted 50 lines
Quoted 50 lines

BR,
Jani.

Quoted 41 lines
Quoted 41 lines
---
 nightly.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
nightly.conf +8 -0
index 49abf3fb2a72..f2e181aa29e2 100644
@@ -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]="
[email protected]:drm/msm.git
+https://gitlab.freedesktop.org/drm/msm.git
+ssh://[email protected]/drm/msm.git
+"
 drm_tip_repos[drm-misc]="
 [email protected]: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"
Signature · 1 line
Jani Nikula, Intel
Signature · 1 line
Jani Nikula, Intel
#5 lore raw
Quoted 33 lines · Jani Nikula
Quoted 13 lines · Dmitry Baryshkov
Quoted 12 lines · Jani Nikula
Quoted 10 lines · Jani Nikula
Quoted 5 lines · Dmitry Baryshkov

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.

It also helps in avoiding conflicts!

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines

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

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch