Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254256
b: refs/heads/master
c: dc501fb
h: refs/heads/master
v: v3
  • Loading branch information
Ben Widawsky authored and Keith Packard committed Jun 29, 2011
1 parent 4ee1a6f commit 1469cf9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d70bed1947772f34d66ada3bd923bfc12ea2452b
refs/heads/master: dc501fbc4389f6c15a8da14684b5926e0d9553da
16 changes: 10 additions & 6 deletions trunk/drivers/gpu/drm/i915/i915_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1207,13 +1207,17 @@ static int i915_context_status(struct seq_file *m, void *unused)
if (ret)
return ret;

seq_printf(m, "power context ");
describe_obj(m, dev_priv->pwrctx);
seq_printf(m, "\n");
if (dev_priv->pwrctx) {
seq_printf(m, "power context ");
describe_obj(m, dev_priv->pwrctx);
seq_printf(m, "\n");
}

seq_printf(m, "render context ");
describe_obj(m, dev_priv->renderctx);
seq_printf(m, "\n");
if (dev_priv->renderctx) {
seq_printf(m, "render context ");
describe_obj(m, dev_priv->renderctx);
seq_printf(m, "\n");
}

mutex_unlock(&dev->mode_config.mutex);

Expand Down

0 comments on commit 1469cf9

Please sign in to comment.