linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@redhat.com>
To: Keith Packard <keithp@keithp.com>
Cc: dri-devel@lists.freedesktop.org, "drivers,
	Intel" <Intel-gfx@lists.freedesktop.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: drivers/drm/i915 maintenance process
Date: Sun, 05 Jun 2011 16:23:43 +1000	[thread overview]
Message-ID: <1307255026.17387.8.camel@t60prh> (raw)
In-Reply-To: <yunipskolss.fsf@aiko.keithp.com>

On Sat, 2011-06-04 at 23:05 -0700, Keith Packard wrote:
> I'm trying to formalize the process for merging code into the drm/i915
> driver. Here's a first draft, please send along your comments.

Okay so you made the same mistake a lot of people make, the merge window
for -next from me to Linus is from when he releases a .x release.
However the merge window for you to me, should happen before this,
multiple -next merges are allowed before Linus releases a kernel, though
I'd really like to close the door around -rc6 in general. Generally I've
found though with graphics we are crunch time for late found regression
around rc6 time so I rarely push back too hard as I'd rather the kernel
release with no regressions than worry overly about -next.

So when Linus is releasing rc4/5 you should really be cutting down stuff
going into your -next, and getting the tree ready for me to take. We can
probably add your tree direct to the -next git list as well so that we
can get the benefits of -next testing earlier.


Some misc stuff inline:

<snip>
> 	The part I'm less sure about is how to deal with patches that
> 	affect both drm/i915 and drm itself. In that case, we may have
> 	patches on both drm-intel-fixes and drm-fixes which work
> 	together to resolve an issue. I think the right thing will be to
> 	have drm-intel-fixes get merged into drm and from there be
> 	merged into master. That's what I've done with a set of fixes
>         posted after 3.0-RC1.

Yes if you have any interdepends then you need to coordinate with me,
hopefully outside of -next we don't have that sort of work happening, as
generally individual drm patches should be in my tree anyways.

> 	I'm interested in hearing comments about whether this will cause
> 	too many additional issues with merges from other parts of the
> 	kernel, or whether we'll end up far behind other trees somehow.

Linus rule is to avoid misc merges, however if you are only getting fast
forwards then it seems like it should be fine as we are getting people
testing from a better base.

> 
> drm-intel-next
> 
> 	While the merge window is closed, this tree will be accumulating
> 	patches in preparation for the subsequent merge window. However,
> 	to reduce the divergence from drm-intel-fixes, I'm proposing
> 	that drm-intel-fixes get merged to drm-intel-next whenever it is
> 	merged to master. I fully expect this to cause merge conflicts,
> 	but resolving those within our own tree before they are sent
> 	upstream should reduce the conflicts at that level. As
> 	drm-intel-fixes is periodically fast-forwarded to points along
> 	master, those merges will get pulled across to drm-intel-next.
> 
> 	At the opening of the merge window, drm-intel-next should
> 	contain all of drm-intel-fixes from the release, and most of the
> 	rest of the release as well.

Just make sure any merge commits are documented in the commit, this
generally means having to git commit --amend the merge commit since most
of the time it doesn't allow you to write anything unless you get a
conflict, esp if its a strange non i915 commit (like say some ACPI or
bluetooth commit that fixes a test laptop).

Otherwise sounds good.

Dave.


  reply	other threads:[~2011-06-05  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05  6:05 drivers/drm/i915 maintenance process Keith Packard
2011-06-05  6:23 ` Dave Airlie [this message]
2011-06-05 20:16   ` Keith Packard
2011-06-06 20:36 ` Jesse Barnes
2011-06-06 23:24   ` Keith Packard
2011-06-06 23:30     ` Jesse Barnes
2011-06-06 23:43       ` [Intel-gfx] " Jesse Barnes

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=1307255026.17387.8.camel@t60prh \
    --to=airlied@redhat.com \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=keithp@keithp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).