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

Commit 2c4888a0 authored by Chunming Zhou's avatar Chunming Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: disable hw semaphore with scheduler

parent 9cb7e5a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ int amdgpu_sync_rings(struct amdgpu_sync *sync,
			return -EINVAL;
		}

		if (count >= AMDGPU_NUM_SYNCS) {
		if (amdgpu_enable_scheduler || (count >= AMDGPU_NUM_SYNCS)) {
			/* not enough room, wait manually */
			r = amdgpu_fence_wait(fence, false);
			if (r)