commit | ab34c226812588de8f341ce48eb32c3fef5155a9 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 27 14:15:35 2010 +0100 |
committer | Eric Anholt <eric@anholt.net> | Fri May 28 11:03:29 2010 -0700 |
tree | e508b67a2d7ea0ea6450b0d8d9eedfb1f5cb2772 | |
parent | 99a03df57c82ec20848d2634f652c07ac3504b98 [diff] |
drm/i915: Fix up address spaces in slow_kernel_write() Since we now get_user_pages() outside of the mutex prior to performing the copy, we kmap() the page inside the copy routine and so need to perform an ordinary memcpy() and not copy_from_user(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>