[Intel-gfx] [PATCH] tests: add gem_reset_stats

Damien Lespiau damien.lespiau at intel.com
Wed Nov 13 15:20:10 CET 2013


On Tue, Nov 12, 2013 at 07:58:16PM +0200, Mika Kuoppala wrote:
> +	buf[roff] = MI_BATCH_BUFFER_START;
> +	buf[roff + 1] = gtt_off + (roff << 2);

I was thinking that this probably need to be adapted for BDW if we want
to loop at the right address (MI_BATCH_BUFFER_START has an extra dword,
and I believe one needs to set the right command length. The high bits
should be 0 as the batch is filled with nops, but it's still unclear to
me if the correct lengh is needed).

-- 
Damien



More information about the Intel-gfx mailing list