[Intel-gfx] [PATCH 1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 19 17:36:50 UTC 2020


Quoting Pavel Machek (2020-08-19 18:23:31)
> Hi!
> 
> > If we hit an error during construction of the reloc chain, we need to
> > replace the chain into the next batch with the terminator so that upon
> > flushing the relocations so far, we do not execute a hanging batch.
> 
> Thanks for the patches. I assume this should fix problem from
> "5.9-rc1: graphics regression moved from -next to mainline" thread.
> 
> I have applied them over current -next, and my machine seems to be
> working so far (but uptime is less than 30 minutes).
> 
> If the machine still works tommorow, I'll assume problem is solved.

Aye, best wait until we have to start competing with Chromium for
memory... The suspicion is that it was the resource allocation failure
path.
-Chris


More information about the Intel-gfx mailing list