[Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-21 Thread Chris Wilson
On Sun, 20 Nov 2011 19:09:18 -0800, Ben Widawsky wrote: > On Sun, 6 Nov 2011 20:13:48 +0100 > Daniel Vetter wrote: > > > The gtt_pwrite slowpath grabs the userspace memory with > > get_user_pages. This will not work for non-page backed memory, like a > > gtt mmapped gem object. Hence fall throu

Re: [Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-21 Thread Chris Wilson
On Sun, 20 Nov 2011 19:09:18 -0800, Ben Widawsky wrote: > On Sun, 6 Nov 2011 20:13:48 +0100 > Daniel Vetter wrote: > > > The gtt_pwrite slowpath grabs the userspace memory with > > get_user_pages. This will not work for non-page backed memory, like a > > gtt mmapped gem object. Hence fall throu

Re: [Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-20 Thread Ben Widawsky
On Sun, 6 Nov 2011 20:13:48 +0100 Daniel Vetter wrote: > The gtt_pwrite slowpath grabs the userspace memory with > get_user_pages. This will not work for non-page backed memory, like a > gtt mmapped gem object. Hence fall throuh to the shmem paths if we hit > -EFAULT in the gtt paths. > > Now t

[Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-20 Thread Ben Widawsky
On Sun, 6 Nov 2011 20:13:48 +0100 Daniel Vetter wrote: > The gtt_pwrite slowpath grabs the userspace memory with > get_user_pages. This will not work for non-page backed memory, like a > gtt mmapped gem object. Hence fall throuh to the shmem paths if we hit > -EFAULT in the gtt paths. > > Now t

[PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-06 Thread Daniel Vetter
The gtt_pwrite slowpath grabs the userspace memory with get_user_pages. This will not work for non-page backed memory, like a gtt mmapped gem object. Hence fall throuh to the shmem paths if we hit -EFAULT in the gtt paths. Now the shmem paths have exactly the same problem, but this way we only nee

[PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-06 Thread Daniel Vetter
The gtt_pwrite slowpath grabs the userspace memory with get_user_pages. This will not work for non-page backed memory, like a gtt mmapped gem object. Hence fall throuh to the shmem paths if we hit -EFAULT in the gtt paths. Now the shmem paths have exactly the same problem, but this way we only nee