Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123449
b: refs/heads/master
c: f1acec9
h: refs/heads/master
i:
  123447: cd813c6
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Dec 29, 2008
1 parent 084457a commit 19947f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c4fdcfb2941dc36b6a16bc509a2adb97c131716
refs/heads/master: f1acec933848219c402c165686677b1c307407f8
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2491,7 +2491,8 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,

/* error other than GTT full, or we've already tried again */
if (ret != -ENOMEM || pin_tries >= 1) {
DRM_ERROR("Failed to pin buffers %d\n", ret);
if (ret != -ERESTARTSYS)
DRM_ERROR("Failed to pin buffers %d\n", ret);
goto err;
}

Expand Down Expand Up @@ -2641,7 +2642,8 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment)
if (obj_priv->gtt_space == NULL) {
ret = i915_gem_object_bind_to_gtt(obj, alignment);
if (ret != 0) {
DRM_ERROR("Failure to bind: %d", ret);
if (ret != -ERESTARTSYS)
DRM_ERROR("Failure to bind: %d", ret);
return ret;
}
}
Expand Down

0 comments on commit 19947f8

Please sign in to comment.