Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166011
b: refs/heads/master
c: 4960aac
h: refs/heads/master
i:
  166009: 2090189
  166007: 777983d
v: v3
  • Loading branch information
Chris Wilson authored and Jesse Barnes committed Sep 17, 2009
1 parent ee36baa commit a87098b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c1a1cdc159e211f045290f61ac95092e9708f5bc
refs/heads/master: 4960aaca14010b9ff92e5726dd178cbd6805d412
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,14 +1160,13 @@ int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
mutex_unlock(&dev->struct_mutex);
return VM_FAULT_SIGBUS;
}
list_add_tail(&obj_priv->list, &dev_priv->mm.inactive_list);

ret = i915_gem_object_set_to_gtt_domain(obj, write);
if (ret) {
mutex_unlock(&dev->struct_mutex);
return VM_FAULT_SIGBUS;
}

list_add_tail(&obj_priv->list, &dev_priv->mm.inactive_list);
}

/* Need a new fence register? */
Expand Down

0 comments on commit a87098b

Please sign in to comment.