intel/decoders: handle decoding MI_BBS from ring
An MI_BATCH_BUFFER_START in the ring buffer acts as a second level batchbuffer (aka jump back to ring buffer when running into a MI_BATCH_BUFFER_END). Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
This commit is contained in:
@@ -101,7 +101,7 @@ anv_device_submit_simple_batch(struct anv_device *device,
|
||||
execbuf.rsvd2 = 0;
|
||||
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_BATCH))
|
||||
gen_print_batch(&device->decoder_ctx, bo.map, bo.size, bo.offset);
|
||||
gen_print_batch(&device->decoder_ctx, bo.map, bo.size, bo.offset, false);
|
||||
|
||||
result = anv_device_execbuf(device, &execbuf, exec_bos);
|
||||
if (result != VK_SUCCESS)
|
||||
|
Reference in New Issue
Block a user