From 9f66b27114fcc457fa5cb2d5889e875384f89e75 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 15 Jun 2012 13:47:33 +0100 Subject: [PATCH] sna: Remove mark-as-cpu after gem_pread The kernel no longer moves the read bo into the CPU domain, so remove the last vestiges of that tracking. Signed-off-by: Chris Wilson --- src/sna/kgem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 89921d4a..84475fe8 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -4147,8 +4147,6 @@ void kgem_buffer_read_sync(struct kgem *kgem, struct kgem_bo *_bo) bo->base.handle, (char *)bo->mem+offset, offset, length)) return; - - kgem_bo_map__cpu(kgem, &bo->base); } kgem_bo_retire(kgem, &bo->base); }