Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b01fc34 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f2c9e560
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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