Lines Matching defs:handle
81 fprintf(stderr, "[ERROR] access to memory not mapped (GPU %" PRIx64 ", handle %u)\n", mem->ptr.gpu, mem->handle);
88 agxdecode_find_handle(unsigned handle, unsigned type)
94 if (mmap_array[i].handle != handle)
104 agxdecode_mark_mapped(unsigned handle)
106 struct agx_bo *bo = agxdecode_find_handle(handle, AGX_ALLOC_REGULAR);
109 fprintf(stderr, "ERROR - unknown BO mapped with handle %u\n", handle);
134 fprintf(agxdecode_dump_stream, "ERROR - can't handle segment count %u\n",
175 unsigned handle = group.resource_id[j];
179 if (!handle) {
180 fprintf(agxdecode_dump_stream, "ERROR - invalid handle %u\n", handle);
184 agxdecode_mark_mapped(handle);
187 fprintf(agxdecode_dump_stream, "%u (0x%X, 0x%X)\n", handle, unk, flags);
197 /* Check the handle count */
199 fprintf(agxdecode_dump_stream, "ERROR - wrong handle count, got %u, expected %u (%u entries)\n",
261 fprintf(agxdecode_dump_stream, "%s %s (%u)\n", name, bo->name ?: "", bo->handle);
275 fprintf(agxdecode_dump_stream, "%s (%" PRIx64 ", handle %u)\n", label, va, alloc->handle);
573 fprintf(agxdecode_dump_stream, "Buffer: type %s, gpu %" PRIx64 ", handle %u.bin:\n\n",
575 mmap_array[i].ptr.gpu, mmap_array[i].handle);
589 bool match = (bo->handle == alloc->handle && bo->type == alloc->type);
602 if (mmap_array[i].handle == bo->handle && mmap_array[i].type == bo->type) {