diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 11:49:38 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 11:49:38 +0300 |
commit | 3685092b717882bb9b6801bf3e4b02a106e3b129 (patch) | |
tree | 71455c11ad45b72d5c7fc804e25a9d7f7940e7dd /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 5f75377db4d8d81ca4465b54d3c339c70c6a0fa2 (diff) | |
download | linux-3685092b717882bb9b6801bf3e4b02a106e3b129.tar.xz |
drm/i915: Avoid oops when capturing NULL ring for inactive pinned buffers
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 421b8414b577..4fe49e0228ef 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -572,9 +572,9 @@ static int i915_ringbuffer_info(struct seq_file *m, void *data) static const char *ring_str(int ring) { switch (ring) { - case RING_RENDER: return "render"; - case RING_BSD: return "bsd"; - case RING_BLT: return "blt"; + case RING_RENDER: return " render"; + case RING_BSD: return " bsd"; + case RING_BLT: return " blt"; default: return ""; } } |