commit | e5e9ecde63ba365b510df0f4a9cb3b048a0ad785 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Apr 07 16:01:22 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Apr 08 10:50:56 2009 -0700 |
tree | 2ef878606a0483e7cac427ebb40dabd1c2346ba7 | |
parent | 2bc43b5cf5158a26fa1328234795abed2dff5275 [diff] |
drm/i915: Correctly set the write flag for get_user_pages in pread. Otherwise, the results of our read didn't show up when we were faulting in the page being read into (as happened with a testcase reading into a big stack area). Likely accounts for some conformance test failures. Signed-off-by: Eric Anholt <eric@anholt.net>