aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_resource.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-07-12 09:41:21 -0700
committerEric Anholt <[email protected]>2017-07-12 10:58:33 -0700
commit2aec62a45b1c907a8fff511b8eca21fa52538acb (patch)
treef7c6e51fe9d4b0aaf08d4f8ff42f56275d6f5fc2 /src/gallium/drivers/vc4/vc4_resource.c
parent8e3d9c5d09c48be9a88bdca7ae3124c12b6db4fe (diff)
vc4: Remove a stale comment.
The kernel hasn't been synchronous in a couple of years, plus there was synchronization code right there.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_resource.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_resource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c
index 5aaa31d6e67..f13b1da9311 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