Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117239
b: refs/heads/master
c: a2d44cc
h: refs/heads/master
i:
  117237: 81ee39b
  117235: 8a9538a
  117231: ff2a9ce
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Oct 23, 2008
1 parent 5225a04 commit 13d38b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 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: 053d7f244a8739d96d316c77a97cd063804c8e35
refs/heads/master: a2d44cca4fc9ae04ed2c9fc2ef16b6989eeae218
15 changes: 12 additions & 3 deletions trunk/drivers/gpu/drm/i915/i915_gem_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,12 @@ static int i915_gem_seqno_info(char *buf, char **start, off_t offset,

*start = &buf[offset];
*eof = 0;
DRM_PROC_PRINT("Current sequence: %d\n", i915_get_gem_seqno(dev));
if (dev_priv->hw_status_page != NULL) {
DRM_PROC_PRINT("Current sequence: %d\n",
i915_get_gem_seqno(dev));
} else {
DRM_PROC_PRINT("Current sequence: hws uninitialized\n");
}
DRM_PROC_PRINT("Waiter sequence: %d\n",
dev_priv->mm.waiting_gem_seqno);
DRM_PROC_PRINT("IRQ sequence: %d\n", dev_priv->mm.irq_gem_seqno);
Expand Down Expand Up @@ -230,8 +235,12 @@ static int i915_interrupt_info(char *buf, char **start, off_t offset,
I915_READ(PIPEBSTAT));
DRM_PROC_PRINT("Interrupts received: %d\n",
atomic_read(&dev_priv->irq_received));
DRM_PROC_PRINT("Current sequence: %d\n",
i915_get_gem_seqno(dev));
if (dev_priv->hw_status_page != NULL) {
DRM_PROC_PRINT("Current sequence: %d\n",
i915_get_gem_seqno(dev));
} else {
DRM_PROC_PRINT("Current sequence: hws uninitialized\n");
}
DRM_PROC_PRINT("Waiter sequence: %d\n",
dev_priv->mm.waiting_gem_seqno);
DRM_PROC_PRINT("IRQ sequence: %d\n",
Expand Down

0 comments on commit 13d38b4

Please sign in to comment.