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. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx