iris: Change the validation list debug code to print the BO list instead
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Aug 2021 08:48:27 +0000 (01:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 Oct 2021 04:58:26 +0000 (04:58 +0000)
commit38917a6055fb09ddf8eac1da370fe7ed2566637d
treee983d773eabb41c84cdee3bf853c233c11d2ca08
parentfb4e2ccc2b415da6a0666da071e9f133c9931c18
iris: Change the validation list debug code to print the BO list instead

This code assumed that batch->exec_bos[i] matched validation_list[i],
which won't be true once we start suballocating BOs.  This patch changes
it to print the full exec_bos[i] list instead of the validation list,
as that has the logical list of objects, names, addresses, placement,
whether they are suballocated, and so on.

It may be useful to look at the actual validation list as well; I'm not
sure how common that is.  We may want to add additional debug prints in
the future.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12623>
src/gallium/drivers/iris/iris_batch.c