summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-20 23:03:19 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-23 01:10:35 +0100
commit13a05fd978a110d1efcda4a09e225aa156204ea3 (patch)
treebc3965f6693dba52d6f8f94379e16a76c90aa083 /drivers
parenta32808c0a1244a52038bb94a3efcdd6a64a31a5b (diff)
downloadop-kernel-dev-13a05fd978a110d1efcda4a09e225aa156204ea3.zip
op-kernel-dev-13a05fd978a110d1efcda4a09e225aa156204ea3.tar.gz
drm/i915: Whitespace correction for madv
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 93b4232..c8ecc75 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -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)
@@ -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]);
}
OpenPOWER on IntegriCloud