drm/i915: Replace last_[rwf]_seqno with last_[rwf]_req
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_display.c
index d54716655d3240ca28581fad1e67499e0bf35f7e..70e75805994bcf396a0d27abaf5856724c1f67f6 100644 (file)
@@ -9637,7 +9637,8 @@ static int intel_queue_mmio_flip(struct drm_device *dev,
 {
        struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
 
-       intel_crtc->mmio_flip.seqno = obj->last_write_seqno;
+       intel_crtc->mmio_flip.seqno =
+                            i915_gem_request_get_seqno(obj->last_write_req);
        intel_crtc->mmio_flip.ring = obj->ring;
 
        schedule_work(&intel_crtc->mmio_flip.work);
@@ -9900,7 +9901,8 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
                if (ret)
                        goto cleanup_unpin;
 
-               work->flip_queued_seqno = obj->last_write_seqno;
+               work->flip_queued_seqno =
+                            i915_gem_request_get_seqno(obj->last_write_req);
                work->flip_queued_ring = obj->ring;
        } else {
                ret = dev_priv->display.queue_flip(dev, crtc, fb, obj, ring,
This page took 0.024942 seconds and 5 git commands to generate.