diff options
author | Christian König <christian.koenig@amd.com> | 2015-03-23 11:32:59 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-27 10:17:43 -0400 |
commit | 1b01fc347ae7d2b76ac849f7040a32582cb5aee3 (patch) | |
tree | 64e6af1530bff27fef06d943ce701210e75c70a9 /drivers/gpu | |
parent | f2c9e560b406f2f6b14b345c7da33467dee9cdf2 (diff) | |
download | op-kernel-dev-1b01fc347ae7d2b76ac849f7040a32582cb5aee3.zip op-kernel-dev-1b01fc347ae7d2b76ac849f7040a32582cb5aee3.tar.gz |
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>
Diffstat (limited to 'drivers/gpu')
-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 |