diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-27 14:15:35 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-28 11:03:29 -0700 |
commit | ab34c226812588de8f341ce48eb32c3fef5155a9 (patch) | |
tree | e508b67a2d7ea0ea6450b0d8d9eedfb1f5cb2772 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions