projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3d9c5
)
vc4: Remove a stale comment.
author
Eric Anholt
<eric@anholt.net>
Wed, 12 Jul 2017 16:41:21 +0000
(09:41 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 12 Jul 2017 17:58:33 +0000
(10:58 -0700)
The kernel hasn't been synchronous in a couple of years, plus there was
synchronization code right there.
src/gallium/drivers/vc4/vc4_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_resource.c
b/src/gallium/drivers/vc4/vc4_resource.c
index 5aaa31d6e67dddb882d9652b944f5253c457f644..f13b1da9311409a13bb9c4fa8d946ab5c1e47424 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_resource.c
+++ b/
src/gallium/drivers/vc4/vc4_resource.c
@@
-258,10
+258,6
@@
vc4_resource_transfer_map(struct pipe_context *pctx,
ptrans->box.z = 0;
}
- /* Note that the current kernel implementation is synchronous, so no
- * need to do syncing stuff here yet.
- */
-
if (usage & PIPE_TRANSFER_UNSYNCHRONIZED)
buf = vc4_bo_map_unsynchronized(rsc->bo);
else