drm/i915: Fix lock order reversal in shmem pwrite path.
authorEric Anholt <eric@anholt.net>
Mon, 9 Mar 2009 20:42:30 +0000 (13:42 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 21:47:13 +0000 (14:47 -0700)
Like the GTT pwrite path fix, this uses an optimistic path and a
fallback to get_user_pages.  Note that this means we have to stop using
vfs_write and roll it ourselves.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found