Skip to content

Commit

Permalink
drm/radeon: always dump the ring content if it's available
Browse files Browse the repository at this point in the history
Dumping is still possible if a ring isn't ready, only when it
isn't allocated at all we need to abort here.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Christian König authored and Alex Deucher committed Mar 27, 2015
1 parent f2c9e56 commit 1b01fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ static int radeon_debugfs_ring_info(struct seq_file *m, void *data)
seq_printf(m, "%u free dwords in ring\n", ring->ring_free_dw);
seq_printf(m, "%u dwords in ring\n", count);

if (!ring->ready)
if (!ring->ring)
return 0;

/* print 8 dw before current rptr as often it's the last executed
Expand Down

0 comments on commit 1b01fc3

Please sign in to comment.