[PATCH 03/13] drm/i915: rewrite shmem_pread_slow to use copy_to_user

2011-11-06 Thread Daniel Vetter
Like for shmem_pwrite_slow. The only difference is that because we read data, we can leave the fetched cachelines in the cpu: In the case that the object isn't in the cpu read domain anymore, the clflush for the next cpu read domain invalidation will simply drop these cachelines. slow_shmem_bit17_

[PATCH 03/13] drm/i915: rewrite shmem_pread_slow to use copy_to_user

2011-11-06 Thread Daniel Vetter
Like for shmem_pwrite_slow. The only difference is that because we read data, we can leave the fetched cachelines in the cpu: In the case that the object isn't in the cpu read domain anymore, the clflush for the next cpu read domain invalidation will simply drop these cachelines. slow_shmem_bit17_