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

Commit 246fa345 authored by Christian König's avatar Christian König
Browse files

drm/radeon: return an error if there is nothing to wait for



Otherwise the sa managers out of memory
handling doesn't work.

Signed-off-by: default avatarChristian König <deathsimple@vodafone.de>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 29935554
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -331,7 +331,7 @@ static int radeon_fence_wait_any_seq(struct radeon_device *rdev,

	/* nothing to wait for ? */
	if (ring == RADEON_NUM_RINGS) {
		return 0;
		return -ENOENT;
	}

	while (!radeon_fence_any_seq_signaled(rdev, target_seq)) {