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

2016-03-21 Thread Chris Wilson
On Mon, Mar 21, 2016 at 03:30:33PM +0530, Goel, Akash wrote: > > > On 3/18/2016 9:31 PM, Chris Wilson wrote: > >On Fri, Mar 18, 2016 at 09:19:35PM +0530, Goel, Akash wrote: > >>On 3/18/2016 4:02 PM, Chris Wilson wrote: > >>>The point about looping is to try and ensure that every possible code > >

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

2016-03-21 Thread Goel, Akash
On 3/18/2016 9:31 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 09:19:35PM +0530, Goel, Akash wrote: On 3/18/2016 4:02 PM, Chris Wilson wrote: The point about looping is to try and ensure that every possible code path is interrupted (since we only interrupt every 2us and the code paths tend

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

2016-03-20 Thread Chris Wilson
On Fri, Mar 18, 2016 at 03:22:51PM +0530, Goel, Akash wrote: > > > On 3/18/2016 2:52 PM, Chris Wilson wrote: > >On Fri, Mar 18, 2016 at 02:31:23PM +0530, Goel, Akash wrote: > >> > >> > >>On 3/18/2016 2:06 PM, Chris Wilson wrote: > >>>On Fri, Mar 18, 2016 at 02:07:40PM +0530, akash.g...@intel.com

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

2016-03-19 Thread Chris Wilson
On Fri, Mar 18, 2016 at 02:31:23PM +0530, Goel, Akash wrote: > > > On 3/18/2016 2:06 PM, Chris Wilson wrote: > >On Fri, Mar 18, 2016 at 02:07:40PM +0530, akash.g...@intel.com wrote: > >>+/* emit_store_qword > >>+ * populate batch buffer with MI_STORE_DWORD_IMM command > >>+ * @fd: drm file descri

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

2016-03-19 Thread akash . goel
From: Akash Goel This patch provides the testcase to exercise the TRTT hardware. Some platforms have an additional address translation hardware support in form of Tiled Resource Translation Table (TR-TT) which provides an extra level of abstraction over PPGTT. This is useful for mapping Sparse/T

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

2016-03-19 Thread Chris Wilson
On Fri, Mar 18, 2016 at 02:07:40PM +0530, akash.g...@intel.com wrote: > +/* emit_store_qword > + * populate batch buffer with MI_STORE_DWORD_IMM command > + * @fd: drm file descriptor > + * @cmd_buf: batch buffer > + * @dw_offset: write offset in batch buffer > + * @vaddr: destination Virtual addre

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

2016-03-19 Thread Goel, Akash
On 3/18/2016 2:52 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 02:31:23PM +0530, Goel, Akash wrote: On 3/18/2016 2:06 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 02:07:40PM +0530, akash.g...@intel.com wrote: +/* emit_store_qword + * populate batch buffer with MI_STORE_DWORD_IMM comm

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

2016-03-18 Thread Chris Wilson
On Fri, Mar 18, 2016 at 09:19:35PM +0530, Goel, Akash wrote: > On 3/18/2016 4:02 PM, Chris Wilson wrote: > >The point about looping is to try and ensure that every possible code > >path is interrupted (since we only interrupt every 2us and the code paths > >tend to be shorter than than!). > > Than

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

2016-03-18 Thread Goel, Akash
On 3/18/2016 2:06 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 02:07:40PM +0530, akash.g...@intel.com wrote: +/* emit_store_qword + * populate batch buffer with MI_STORE_DWORD_IMM command + * @fd: drm file descriptor + * @cmd_buf: batch buffer + * @dw_offset: write offset in batch buffer +

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

2016-03-18 Thread Goel, Akash
On 3/18/2016 4:02 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 03:22:51PM +0530, Goel, Akash wrote: On 3/18/2016 2:52 PM, Chris Wilson wrote: On Fri, Mar 18, 2016 at 02:31:23PM +0530, Goel, Akash wrote: Hopefully final comments! Missed EINTR handling during evict, If you repeat the b