xf86-video-intel: 2 commits - .gitignore src/sna/kgem.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Sep 9 15:16:37 PDT 2011
.gitignore | 1 +
src/sna/kgem.c | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 72fafdfd374eb165e703b791c70592c47e5772fc
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Sep 9 23:15:58 2011 +0100
gitignore: add git_version.h
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/.gitignore b/.gitignore
index 4cada5a..579fe4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ stamp-h?
symlink-tree
texinfo.tex
ylwrap
+src/sna/git_version.h
# Do not edit the following section
# Edit Compile Debug Document Distribute
commit ac4d4cdbc1336c86a16a2ec3da2ef6e9842c1079
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Sep 9 23:12:59 2011 +0100
sna: Mark the bo as reusable after extracting the handle from the buffer
The whole purpose for that little dance was so that we could reuse the
bo. However, we left it marked as non-reusable in order for us not to
tie up memory with too many buffers and so defeated the purpose of
trying to place it into the inactive cache.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 947fac4..525e1e3 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -715,6 +715,7 @@ static void kgem_finish_partials(struct kgem *kgem)
struct kgem_bo *base = malloc(sizeof(*base));
if (base) {
memcpy(base, &bo->base, sizeof (*base));
+ base->reusable = true;
list_init(&base->list);
list_replace(&bo->base.request,
&base->request);
More information about the xorg-commit
mailing list