On Mon, 20 Aug 2012 21:56:08 +0200, Daniel Vetter wrote:
> On Sat, Aug 11, 2012 at 03:41:21PM +0100, Chris Wilson wrote:
> > Signed-off-by: Chris Wilson
>
> What about putting kmap/unmap abstractions into obj->ops (like the dma_buf
> interface already has)? Since the pwrite/pread code is already
On Mon, 20 Aug 2012 21:56:08 +0200, Daniel Vetter wrote:
> On Sat, Aug 11, 2012 at 03:41:21PM +0100, Chris Wilson wrote:
> > Signed-off-by: Chris Wilson
>
> What about putting kmap/unmap abstractions into obj->ops (like the dma_buf
> interface already has)? Since the pwrite/pread code is already
On Sat, Aug 11, 2012 at 03:41:21PM +0100, Chris Wilson wrote:
> Signed-off-by: Chris Wilson
What about putting kmap/unmap abstractions into obj->ops (like the dma_buf
interface already has)? Since the pwrite/pread code is already rather
branch heave I hope we don't see the overhead of the indirec
Signed-off-by: Chris Wilson
---
drivers/gpu/drm/i915/i915_gem.c | 169 +--
1 file changed, 111 insertions(+), 58 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 552f95b..a2fb2aa 100644
--- a/drivers/gpu/drm/i9