Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323039
b: refs/heads/master
c: 7e81a42
h: refs/heads/master
i:
  323037: 8680f62
  323035: 394b8a1
  323031: a768dad
  323023: 4f4cc80
  323007: b2f0c02
v: v3
  • Loading branch information
Chris Wilson authored and Daniel Vetter committed Sep 17, 2012
1 parent 7eb577e commit 0fe58be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 5b5896e4e1f353ef3dbc4e4e9ee44d53ccf105d7
refs/heads/master: 7e81a42e341a4f15d76624b7c02ffb21b085b56f
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -3242,7 +3242,8 @@ i915_gem_object_pin(struct drm_i915_gem_object *obj,
{
int ret;

BUG_ON(obj->pin_count == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT);
if (WARN_ON(obj->pin_count == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT))
return -EBUSY;

if (obj->gtt_space != NULL) {
if ((alignment && obj->gtt_offset & (alignment - 1)) ||
Expand Down

0 comments on commit 0fe58be

Please sign in to comment.