On Mon, 2 Jul 2012 11:51:03 -0300
Eugeni Dodonov wrote:
> From: Chris Wilson
>
> As a w/a to prevent reads sporadically returning 0, we need to wait for
> the GT thread to return to TC0 before proceeding to read the registers.
>
> v2: adapt for Haswell changes (Eugeni).
>
> v3: use wait_for_
From: Chris Wilson
As a w/a to prevent reads sporadically returning 0, we need to wait for
the GT thread to return to TC0 before proceeding to read the registers.
v2: adapt for Haswell changes (Eugeni).
v3: use wait_for_atomic_us for thread status polling.
v3: *really* use wait_for_atomic for