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

Commit 1b583649 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher
Browse files

drm/amd/amdgpu: Print ring name in amdgpu_ib_schedule()



If the ring isn't ready lets print out which ring name
to help debugging.

Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ddbbd3be
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -142,7 +142,7 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
	}
	}


	if (!ring->ready) {
	if (!ring->ready) {
		dev_err(adev->dev, "couldn't schedule ib\n");
		dev_err(adev->dev, "couldn't schedule ib on ring <%s>\n", ring->name);
		return -EINVAL;
		return -EINVAL;
	}
	}