[PATCH 07/13] drm/i915: move clflushing into shmem_pread

2011-11-06 Thread Daniel Vetter
This is obviously gonna slow down pread. But for a half-way realistic micro-benchmark, it doesn't matter: Non-broken userspace reads back data from the gpu once before the gpu again dirties it. So all this ranged clflush tracking is just a waste of time. No pread performance change (neglecting th

[PATCH 07/13] drm/i915: move clflushing into shmem_pread

2011-11-06 Thread Daniel Vetter
This is obviously gonna slow down pread. But for a half-way realistic micro-benchmark, it doesn't matter: Non-broken userspace reads back data from the gpu once before the gpu again dirties it. So all this ranged clflush tracking is just a waste of time. No pread performance change (neglecting th