Re: [git pull] drm fixes for 5.7-rc8/final
From: Linus Torvalds
Date: Thu May 28 2020 - 21:49:39 EST
On Thu, May 28, 2020 at 5:21 PM Dave Airlie <airlied@xxxxxxxxx> wrote:
> Seems to have wound down nicely, a couple of i915 fixes, amdgpu fixes
> and minor ingenic fixes.
Dave, this doesn't even build. WTF?
In drivers/gpu/drm/i915/gt/selftest_lrc.c, there's a
engine_heartbeat_disable() function that takes two arguments, but the
new "live_timeslice_nopreempt()" gives it only one.
I'd blame a merge problem, since the failure is in new code, but the
problem exists in your top-of-tree, not just my merge.
In fact, it's not even your merge of the i915 tree that is the source
of the problem (although the fact that you clearly didn't _test_ the
end result most definitely is _part_ of the problem!).
Because the problem exists in the commit that introduced that thing:
commit 1f65efb624c4 ("drm/i915/gt: Prevent timeslicing into
It's garbage, and never compiled.
git grep -1wh engine_heartbeat_disable 1f65efb62 \
and you'll see how the definition of that function looks like this:
static void engine_heartbeat_disable(struct intel_engine_cs *engine,
unsigned long *saved)
but then in the middle of that grep, you'll find
That commit seems to be a cherry-pick of another commit, and maybe it
worked in that other context (which I don't see), but it sure doesn't
work in the context it was then cherry-picked into.
So people took that thing, and it went through at least two different
people WHO NEVER EVEN BOTHERED TO TEST IF IT BUILDS!
This is why I absolutely DO NOT WANT TO SEE random rebases or
cherry-picks and then sending the resulting untested crap on to me.
Because it's exactly that: untested crap.
It doesn't matter *how* well you have tested a commit in some original
context: the moment you rebase it (or cherry-pick it, which is just
another form of rebasing), it's a completely new commit in a
completely new environment, and all your old testing is null and void.
Guys, get your act together! I should not be getting these kinds of
shit pull requests days before a release!
And how the hell did this not get any build testing at any point
before asking me to pull?