Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185506
b: refs/heads/master
c: b42861f
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Feb 25, 2010
1 parent 662ec43 commit b7f6d3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e32b2c883bfe9b57c660b5db31a62cea96c0c046
refs/heads/master: b42861f40f5ea3261d9fa1d5533496bf1fc812cf
13 changes: 13 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,22 @@ nouveau_debugfs_memory_info(struct seq_file *m, void *data)
return 0;
}

static int
nouveau_debugfs_vbios_image(struct seq_file *m, void *data)
{
struct drm_info_node *node = (struct drm_info_node *) m->private;
struct drm_nouveau_private *dev_priv = node->minor->dev->dev_private;
int i;

for (i = 0; i < dev_priv->VBIOS.length; i++)
seq_printf(m, "%c", dev_priv->VBIOS.data[i]);
return 0;
}

static struct drm_info_list nouveau_debugfs_list[] = {
{ "chipset", nouveau_debugfs_chipset_info, 0, NULL },
{ "memory", nouveau_debugfs_memory_info, 0, NULL },
{ "vbios.rom", nouveau_debugfs_vbios_image, 0, NULL },
};
#define NOUVEAU_DEBUGFS_ENTRIES ARRAY_SIZE(nouveau_debugfs_list)

Expand Down

0 comments on commit b7f6d3e

Please sign in to comment.