Commit 13a05fd9 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Whitespace correction for madv

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent a32808c0
...@@ -1478,7 +1478,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj) ...@@ -1478,7 +1478,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj)
i915_gem_object_save_bit_17_swizzle(obj); i915_gem_object_save_bit_17_swizzle(obj);
if (obj_priv->madv == I915_MADV_DONTNEED) if (obj_priv->madv == I915_MADV_DONTNEED)
obj_priv->dirty = 0; obj_priv->dirty = 0;
for (i = 0; i < page_count; i++) { for (i = 0; i < page_count; i++) {
if (obj_priv->pages[i] == NULL) if (obj_priv->pages[i] == NULL)
...@@ -1488,7 +1488,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj) ...@@ -1488,7 +1488,7 @@ i915_gem_object_put_pages(struct drm_gem_object *obj)
set_page_dirty(obj_priv->pages[i]); set_page_dirty(obj_priv->pages[i]);
if (obj_priv->madv == I915_MADV_WILLNEED) 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]); page_cache_release(obj_priv->pages[i]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment