Mesa (master): vc4: Remove a stale comment.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Jul 12 18:06:09 UTC 2017
Module: Mesa
Branch: master
Commit: 2aec62a45b1c907a8fff511b8eca21fa52538acb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aec62a45b1c907a8fff511b8eca21fa52538acb
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jul 12 09:41:21 2017 -0700
vc4: Remove a stale comment.
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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c
index 5aaa31d6e6..f13b1da931 100644
--- 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
More information about the mesa-commit
mailing list