summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/i915_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index b1f651d3105..f8d52605544 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -2563,8 +2563,7 @@ i915_gem_object_flush_gpu_write_domain(struct drm_obj *obj, int pipelined,
} else {
seqno = obj_priv->last_write_seqno;
}
- ret = i915_wait_request(dev_priv,
- obj_priv->last_rendering_seqno, interruptible);
+ ret = i915_wait_request(dev_priv, seqno, interruptible);
}
return (ret);
}