[Intel-gfx] [PATCH] drm/i915/selftests: Avoid repeatedly harming the same innocent context

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 6 09:40:45 UTC 2018


Quoting Tvrtko Ursulin (2018-04-06 10:11:57)
> 
> On 30/03/2018 14:18, Chris Wilson wrote:
> >                       if (!wait_for_hang(&h, prev)) {
> 
> This was confusing me a period since I was assuming the seqno check is 
> against the breadcrumb, but it is actually about the same number written 
> to a different place. So it actually means 
> wait_for_request_to_start_executing.

Bonus points for a better name than struct hang.

struct spinner;

spinner_wait_until_active() ?
-Chris


More information about the Intel-gfx mailing list