[Intel-gfx] [PATCH] drm/i915/selftests: Measure dispatch latency

Chris Wilson chris at chris-wilson.co.uk
Tue May 19 12:56:01 UTC 2020

Quoting Mika Kuoppala (2020-05-19 13:47:31)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > A useful metric of the system's health is how fast we can tell the GPU
> > to do various actions, so measure our latency.
> >
> > v2: Refactor all the instruction building into emitters.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Not much nitpicking left. Could have used one goto in the fence
> using tests on error paths but meh.

Error handling is not great here, I agree.

More information about the Intel-gfx mailing list