Displaying 1 result from an estimated 1 matches for "dump_channel_single".
2014 Apr 17
0
[PATCH] drm/nouveau: add some basic debugfs dumping for nouveau's clients and vm mappings
...+ seq_printf(m, "\tbo %p with handle %02i mapped %s at [%08llx-%08llx]: %s size %llu\n",
+ nvbo, handle, ba, offset, end, map, len);
+}
+
+/*
+ * In theory this function doesn't need locking because all bo's are pinned,
+ * and we hold the modification lock.
+ */
+static void dump_channel_single(struct seq_file *m, struct nouveau_drm *drm,
+ struct nouveau_cli *cli, struct nouveau_channel *chan)
+{
+ struct nouveau_device *device = nv_device(drm->device);
+
+ if (device->chipset >= 0x84) {
+ struct nv84_fence_priv *priv = drm->fence;
+ struct nv84_fence_chan *fctx = chan-&...