[Intel-gfx] [PATCH v3] igt/gem_trtt: Exercise the TRTT hardware

Goel, Akash akash.goel at intel.com
Thu Mar 3 16:47:35 UTC 2016

On 3/3/2016 9:16 PM, Chris Wilson wrote:
> On Thu, Mar 03, 2016 at 09:08:25PM +0530, Goel, Akash wrote:
>>> Before we destroy the context (or exit), how about a query_trtt().
>>> We should also query after create to ensure that the defaults are set.
>>> Just thinking that is better doing the query after several steps (i.e.
>>> the execbuf) rather than immediately after the set in order to give time
>>> for something to go wrong. We should also ensure that everything remains
>>> set after a GPU hang and suspend/resume.
>> Nice suggestion, currently get-trtt-context will just retrieve the
>> TR-TT params stored with a Driver for a given context.
>> Should the Context image itself be read to ensure that settings are
>> intact or not ?
> I'm happy with reading back the driver state (as opposed to the context
> image). We're verifying that the hw is setup via the execbuf, we just
> want to double check that the kernel reports the correct setup as well.

Fine, will use get-trtt-context only. The trtt params stored with the 
Driver should be invariant.

Best regards

> -Chris

More information about the Intel-gfx mailing list