Lines Matching refs:ret

64 	int ret;
73 ret = intel_ring_begin(ring, 2);
74 if (ret)
75 return ret;
91 int ret;
131 ret = intel_ring_begin(ring, 2);
132 if (ret)
133 return ret;
184 int ret;
187 ret = intel_ring_begin(ring, 6);
188 if (ret)
189 return ret;
200 ret = intel_ring_begin(ring, 6);
201 if (ret)
202 return ret;
222 int ret;
225 ret = intel_emit_post_sync_nonzero_flush(ring);
226 if (ret)
227 return ret;
255 ret = intel_ring_begin(ring, 4);
256 if (ret)
257 return ret;
271 int ret;
273 ret = intel_ring_begin(ring, 4);
274 if (ret)
275 return ret;
289 int ret;
294 ret = intel_ring_begin(ring, 4);
295 if (ret)
296 return ret;
315 int ret;
354 ret = intel_ring_begin(ring, 4);
355 if (ret)
356 return ret;
402 int ret = 0;
463 ret = -EIO;
482 return ret;
490 int ret;
502 ret = -ENOMEM;
508 ret = i915_gem_object_pin(obj, 4096, true, false);
509 if (ret)
531 return ret;
551 int ret = init_ring_common(ring);
576 ret = init_pipe_control(ring);
577 if (ret)
578 return ret;
604 return ret;
654 int i, ret;
656 ret = intel_ring_begin(ring, ((I915_NUM_RINGS-1) *
659 if (ret)
660 return ret;
697 int ret;
711 ret = intel_ring_begin(waiter, 4);
712 if (ret)
713 return ret;
748 int ret;
758 ret = intel_ring_begin(ring, 32);
759 if (ret)
760 return ret;
992 int ret;
994 ret = intel_ring_begin(ring, 2);
995 if (ret)
996 return ret;
1007 int ret;
1009 ret = intel_ring_begin(ring, 4);
1010 if (ret)
1011 return ret;
1124 int ret;
1126 ret = intel_ring_begin(ring, 2);
1127 if (ret)
1128 return ret;
1147 int ret;
1150 ret = intel_ring_begin(ring, 4);
1151 if (ret)
1152 return ret;
1166 ret = intel_ring_begin(ring, 9+3);
1167 if (ret)
1168 return ret;
1199 int ret;
1201 ret = intel_ring_begin(ring, 2);
1202 if (ret)
1203 return ret;
1229 int ret;
1234 ret = -ENOMEM;
1238 if (ret = i915_gem_object_set_cache_level(obj, I915_CACHE_LLC))
1241 ret = i915_gem_object_pin(obj, 4096, true, false);
1242 if (ret != 0) {
1249 ret = -ENOMEM;
1265 return ret;
1288 int ret;
1299 ret = init_status_page(ring);
1300 if (ret)
1301 return ret;
1304 ret = init_phys_status_page(ring);
1305 if (ret)
1306 return ret;
1316 ret = -ENOMEM;
1322 ret = i915_gem_object_pin(obj, PAGE_SIZE, true, false);
1323 if (ret)
1326 ret = i915_gem_object_set_to_gtt_domain(obj, true);
1327 if (ret)
1338 ret = -EINVAL;
1343 ret = ring->init(ring);
1344 if (ret)
1366 return ret;
1372 int ret;
1379 ret = intel_ring_idle(ring);
1380 if (ret)
1382 ring->name, ret);
1400 int ret;
1402 ret = i915_wait_seqno(ring, seqno);
1403 if (!ret)
1406 return ret;
1413 int ret;
1450 ret = intel_ring_wait_seqno(ring, seqno);
1451 if (ret)
1452 return ret;
1475 int ret;
1477 ret = intel_ring_wait_request(ring, n);
1478 if (ret != -ENOSPC)
1479 return ret;
1503 ret = i915_gem_check_wedge(&dev_priv->gpu_error,
1505 if (ret)
1506 return ret;
1517 int ret = ring_wait_for_space(ring, rem);
1518 if (ret)
1519 return ret;
1538 int ret;
1542 ret = i915_add_request(ring, NULL);
1543 if (ret)
1544 return ret;
1571 int ret;
1574 ret = intel_wrap_ring_buffer(ring);
1575 if (ret)
1576 return ret;
1580 ret = ring_wait_for_space(ring, bytes);
1581 if (ret)
1582 return ret;
1593 int ret;
1595 ret = i915_gem_check_wedge(&dev_priv->gpu_error,
1597 if (ret)
1598 return ret;
1601 ret = intel_ring_alloc_seqno(ring);
1602 if (ret)
1603 return ret;
1670 int ret;
1672 ret = intel_ring_begin(ring, 4);
1673 if (ret)
1674 return ret;
1699 int ret;
1701 ret = intel_ring_begin(ring, 2);
1702 if (ret)
1703 return ret;
1720 int ret;
1722 ret = intel_ring_begin(ring, 2);
1723 if (ret)
1724 return ret;
1743 int ret;
1745 ret = intel_ring_begin(ring, 4);
1746 if (ret)
1747 return ret;
1842 int ret;
1850 ret = i915_gem_object_pin(obj, 0, true, false);
1851 if (ret != 0) {
1854 return ret;
1867 int ret;
1931 ret = init_phys_status_page(ring);
1932 if (ret)
1933 return ret;
2060 int ret;
2065 ret = ring->flush(ring, 0, I915_GEM_GPU_DOMAINS);
2066 if (ret)
2067 return ret;
2078 int ret;
2084 ret = ring->flush(ring, I915_GEM_GPU_DOMAINS, flush_domains);
2085 if (ret)
2086 return ret;