Skip to content

Commit

Permalink
drm/i915: Whitespace correction for madv
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Sep 23, 2009
1 parent a32808c commit 13a05fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 13a05fd

Please sign in to comment.