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

Commit 9360bd11 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: when bailing out of a pushbuf ioctl, do not remove previous fence



Cc: stable@vger.kernel.org
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5d216f60
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -308,6 +308,7 @@ validate_fini_list(struct list_head *list, struct nouveau_fence *fence,
	list_for_each_safe(entry, tmp, list) {
		nvbo = list_entry(entry, struct nouveau_bo, entry);

		if (likely(fence))
			nouveau_bo_fence(nvbo, fence);

		if (unlikely(nvbo->validate_mapped)) {