Browse Source

vc4: Remove a stale comment.

The kernel hasn't been synchronous in a couple of years, plus there was
synchronization code right there.
tags/17.2-branchpoint
Eric Anholt 8 years ago
parent
commit
2aec62a45b
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      src/gallium/drivers/vc4/vc4_resource.c

+ 0
- 4
src/gallium/drivers/vc4/vc4_resource.c View 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

Loading…
Cancel
Save