commit | 40123c1f8dd920dcff7a42cde5b351d7d0b0422e | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Mar 09 13:42:30 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Mar 27 14:47:13 2009 -0700 |
tree | e088817fd6239fe280d53fdb1907864bdf69ca7e | |
parent | 856fa1988ea483fc2dab84a16681dcfde821b740 [diff] |
drm/i915: Fix lock order reversal in shmem pwrite path. 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>