Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166031
b: refs/heads/master
c: 13a05fd
h: refs/heads/master
i:
  166029: a50b09c
  166027: 5a1b48c
  166023: cf46e66
  166015: e86f36c
v: v3
  • Loading branch information
Chris Wilson committed Sep 23, 2009
1 parent df9eb86 commit 440518a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a32808c0a1244a52038bb94a3efcdd6a64a31a5b
refs/heads/master: 13a05fd978a110d1efcda4a09e225aa156204ea3
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj)
i915_gem_object_save_bit_17_swizzle(obj);

if (obj_priv->madv == I915_MADV_DONTNEED)
obj_priv->dirty = 0;
obj_priv->dirty = 0;

for (i = 0; i < page_count; i++) {
if (obj_priv->pages[i] == NULL)
Expand All @@ -1488,7 +1488,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj)
set_page_dirty(obj_priv->pages[i]);

if (obj_priv->madv == I915_MADV_WILLNEED)
mark_page_accessed(obj_priv->pages[i]);
mark_page_accessed(obj_priv->pages[i]);

page_cache_release(obj_priv->pages[i]);
}
Expand Down

0 comments on commit 440518a

Please sign in to comment.