projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a32808c
)
drm/i915: Whitespace correction for madv
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 20 Sep 2009 22:03:19 +0000
(23:03 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:10:35 +0000
(
01:10
+0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 93b4232ee280b5896035933533d0fec6ffc7ee07..c8ecc75aa79b65ae92f410b0973b8cd6565f2017 100644
(file)
--- 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]);
}