Commit 6f08328
Fix sporadic issue in test.
- Parse commands after flush
- Sequence was as follows:
ndr1
1.Parse commands
ndr2
2.Parse commands
cmdq->flush
cmdq2->flush
During parsing #1 we parse BATCH_BUFFER_END at the end of command buffer.
Following NOOP is also parsed.
Then at flush time, BATCH_BUFFER_END is replace with BATCH_BUFFER_START
as we chain them together, however parser is not updated at this point
and still thinks that there is BATCH_BUFFER_END there.
Then we try to locate MEDIA_VFE_STATE, under NOOP iterator we currently
have BATCH_BUFFER_START GPU VA start address that is random.
Depending on the luck, address may be interpreted as VFE_STATE and
test sporadically fails :)
Change-Id: I1d6f2547f1b85f17349976245db7bdcb9fe6b17c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>1 parent d3e583f commit 6f08328
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments