[Intel-gfx] [PATCH 1/2] drm/i915/selftests: Confirm CS_TIMESTAMP / CTX_TIMESTAMP share a clock

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 23 15:01:11 UTC 2020


Quoting Mika Kuoppala (2020-12-23 14:56:06)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > +     d_ctx *= RUNTIME_INFO(engine->i915)->cs_timestamp_frequency_hz;
> > +     if (IS_ICELAKE(engine->i915))
> > +             d_ring *= 12500000; /* Fixed 80ns for icl ctx timestamp? */
> 
> This is...weird. But I am not going to argue against hardware.
> 
> Will be interesting to see if this can find something funny.

Well it already found the icl funny :(
I didn't appreciate the joke myself.
-Chris


More information about the Intel-gfx mailing list