Process identical patches in different tree

Matthias Brugger matthias.bgg at gmail.com
Wed Jan 8 11:14:03 UTC 2020


Hi CK,

On 07/01/2020 03:56, CK Hu wrote:
> Hi, Dave, Daniel, Matthias:
> 
> In mediatek-drm-next-5.6 [1], I've cherry-pick 3 patches from
> v5.5-next/soc [2] because some drm patches depend on these cmdq patches.
> So these cmdq patches exist in both tree now. I want to know how to
> process this case. I think we could choose one of below way:
> 
> 1. Because these cmdq patches are identical in both tree, so each tree
> could do its own upstream and the there would be nothing happen when
> merge.
> 2. Let soc upstream first, and mediatek drm rebase on the latest
> mainline then upstream.
> 
> Which one do you prefer?
> 

What we would need is a stable branch with this commits that get merged by both
trees. If I understand correctly that otherwise the SHA of the commits would be
different and that would provoke merge conflicts.

We should not rely on one tree being merged before the other. AFAIK there is no
hard merge order between trees.

Regards,
Matthias

> [1]
> https://github.com/ckhu-mediatek/linux.git-tags/commits/mediatek-drm-next-5.6
> [2]
> https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.5-next/soc
> 
> Regards,
> CK
> 


More information about the dri-devel mailing list