tests/gem_reset_stats: end hanging batch properly
authorMika Kuoppala <mika.kuoppala@intel.com>
Thu, 10 Apr 2014 13:06:27 +0000 (16:06 +0300)
committerMika Kuoppala <mika.kuoppala@intel.com>
Thu, 10 Apr 2014 14:24:38 +0000 (17:24 +0300)
commit1c7ca57e531315f78f8ea3b9dce7bd92d7d79f64
treee22a7e6ce779bb9d6d699344e80c4771ff33ef78
parentf74c443925578b377c47d655a2d864b8ed521330
tests/gem_reset_stats: end hanging batch properly

As we use chained batch into itself to hang the gpu, there
was no need to end the batchbuffer with BATCH_BUFFER_END.

With the introduction of command parser, the batch
need to have proper BATCH_BUFFER_END in it or it
will be rejected.

While at it, shift the upper half of batch gtt_offset
accordingly with gen8+

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
tests/gem_reset_stats.c