[Intel-gfx] [PATCH i-g-t 1/2] lib: Spin fast, retire early

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Jun 20 12:11:05 UTC 2018


Quoting Chris Wilson (2018-06-20 14:57:05)
> When using the pollable spinner, we often want to use it as a means of
> ensuring the task is running on the GPU before switching to something
> else. In which case we don't want to add extra delay inside the spinner,
> but the current 1000 NOPs add on order of 5us, which is often larger
> than the target latency.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Antonio Argenziano <antonio.argenziano at intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list