From 2aec62a45b1c907a8fff511b8eca21fa52538acb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Jul 2017 09:41:21 -0700 Subject: [PATCH] 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 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 -- 2.30.2