diff options
author | Brad Volkin <bradley.d.volkin@intel.com> | 2014-11-03 11:18:59 -0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-12 13:43:04 +0100 |
commit | c1fdc2f0e95714e20b157e318f07110219a2237f (patch) | |
tree | de939fe7f184b8d91897864d0d5ff631b519fa90 /assembler | |
parent | 4dd6e0edcf4fb2dd52fafa8b448ce87fafc4125d (diff) |
tests/gem_exec_parse: fix batch_len setting for cmd-crossing-page
The size of the batch buffer passed to the kernel is significantly
larger than the size of the batch buffer passed to the function. A
proposed optimization as part of the batch copy kernel series is to
use batch_len for the copy and parse operations, which leads to a
false "batch without MI_BATCH_BUFFER_END" failure for this test.
To fix this, modify the test to set batch_start_offset and batch_len
such that they define the range of actual commands in the batch,
including a few of the surrounding nops for alignment purposes.
v2: update batch_start_offset as well
Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'assembler')
0 files changed, 0 insertions, 0 deletions