[PATCH i-g-t 1/2] add object info
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue Nov 23 08:05:07 UTC 2021
---
lib/intel_batchbuffer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 6fc81400a..ea754da64 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -1903,6 +1903,9 @@ intel_bb_add_object(struct intel_bb *ibb, uint32_t handle, uint64_t size,
{
struct drm_i915_gem_exec_object2 *object;
+ igt_info("handle: %u, size: %llx, offset: %llx, alignment: %llx, write: %d\n",
+ handle, (long long) size, (long long) offset, (long long) alignment, write);
+
igt_assert(INVALID_ADDR(offset) || alignment == 0
|| ALIGN(offset, alignment) == offset);
--
2.26.0
More information about the Intel-gfx-trybot
mailing list