diff options
author | Christian König <christian.koenig@amd.com> | 2015-03-23 10:32:59 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-27 14:17:43 (GMT) |
commit | 1b01fc347ae7d2b76ac849f7040a32582cb5aee3 (patch) | |
tree | 64e6af1530bff27fef06d943ce701210e75c70a9 | |
parent | f2c9e560b406f2f6b14b345c7da33467dee9cdf2 (diff) | |
download | linux-1b01fc347ae7d2b76ac849f7040a32582cb5aee3.tar.xz |
drm/radeon: always dump the ring content if it's available
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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 2456f69..8c78723 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c @@ -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 |