Lines Matching refs:last_write_req
1501 if (obj->last_write_req != NULL) { in i915_gem_object_wait_rendering()
1502 ret = i915_wait_request(obj->last_write_req); in i915_gem_object_wait_rendering()
1506 i = obj->last_write_req->ring->id; in i915_gem_object_wait_rendering()
1507 if (obj->last_read_req[i] == obj->last_write_req) in i915_gem_object_wait_rendering()
1537 else if (obj->last_write_req == req) in i915_gem_object_retire_request()
1572 req = obj->last_write_req; in i915_gem_object_wait_rendering__nonblocking()
2423 RQ_BUG_ON(obj->last_write_req == NULL); in i915_gem_object_retire__write()
2424 RQ_BUG_ON(!(obj->active & intel_ring_flag(obj->last_write_req->ring))); in i915_gem_object_retire__write()
2426 i915_gem_request_assign(&obj->last_write_req, NULL); in i915_gem_object_retire__write()
2441 if (obj->last_write_req && obj->last_write_req->ring->id == ring) in i915_gem_object_retire__read()
3230 if (obj->last_write_req) in i915_gem_object_sync()
3231 req[n++] = obj->last_write_req; in i915_gem_object_sync()
4299 if (obj->last_write_req) in i915_gem_busy_ioctl()
4300 args->busy |= obj->last_write_req->ring->id; in i915_gem_busy_ioctl()