vc4: Remove a stale comment.
authorEric Anholt <eric@anholt.net>
Wed, 12 Jul 2017 16:41:21 +0000 (09:41 -0700)
committerEric 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

index 5aaa31d6e67dddb882d9652b944f5253c457f644..f13b1da9311409a13bb9c4fa8d946ab5c1e47424 100644 (file)
@@ -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