[Intel-gfx] [PATCH v2] drm/i915/selftests: Careful not to flush hang_fini on error setups

Chris Wilson chris at chris-wilson.co.uk
Mon Jul 29 10:01:35 UTC 2019


Quoting Tvrtko Ursulin (2019-07-29 10:50:56)
> 
> On 29/07/2019 09:59, Chris Wilson wrote:
> > Smatch spotted that we test at the start of hang_fini for a valid (h->gt
> > is only set after a request is created) but then used it regardless
> > later on.
> > 
> > v2: Alternatively, we do not need to check as we now always prime h->gt
> > in hang_init()
> > 
> > Fixes: cb823ed9915b ("drm/i915/gt: Use intel_gt as the primary object for handling resets")
> 
> Will the fixes tag cause some unwanted backporting?

Good point, we don't need to backport this (pretty sure it was
self-contained in dinq, but nevertheless).
-Chris


More information about the Intel-gfx mailing list