projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'simplify-do_wp_page'
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
i915
/
gem
/
i915_gem_userptr.c
diff --git
a/drivers/gpu/drm/i915/gem/i915_gem_userptr.c
b/drivers/gpu/drm/i915/gem/i915_gem_userptr.c
index
2c2bf24
..
12b3007
100644
(file)
--- a/
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
+++ b/
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
@@
-596,14
+596,6
@@
static int i915_gem_userptr_get_pages(struct drm_i915_gem_object *obj)
GFP_KERNEL |
__GFP_NORETRY |
__GFP_NOWARN);
GFP_KERNEL |
__GFP_NORETRY |
__GFP_NOWARN);
- /*
- * Using __get_user_pages_fast() with a read-only
- * access is questionable. A read-only page may be
- * COW-broken, and then this might end up giving
- * the wrong side of the COW..
- *
- * We may or may not care.
- */
if (pvec) {
/* defer to worker if malloc fails */
if (!i915_gem_object_is_readonly(obj))
if (pvec) {
/* defer to worker if malloc fails */
if (!i915_gem_object_is_readonly(obj))