iris: fix decode_get_bo callback
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: acb50d6b1f
("intel/decoders: handle decoding MI_BBS from ring")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
55e4759c8d
commit
575f8e8b60
|
@ -115,10 +115,12 @@ dump_validation_list(struct iris_batch *batch)
|
|||
* Return BO information to the batch decoder (for debugging).
|
||||
*/
|
||||
static struct gen_batch_decode_bo
|
||||
decode_get_bo(void *v_batch, uint64_t address)
|
||||
decode_get_bo(void *v_batch, bool ppgtt, uint64_t address)
|
||||
{
|
||||
struct iris_batch *batch = v_batch;
|
||||
|
||||
assert(ppgtt);
|
||||
|
||||
for (int i = 0; i < batch->exec_count; i++) {
|
||||
struct iris_bo *bo = batch->exec_bos[i];
|
||||
/* The decoder zeroes out the top 16 bits, so we need to as well */
|
||||
|
|
Loading…
Reference in New Issue