OSDN Git Service

minigbm: vgem: align to llvm tile size
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 30 Nov 2016 04:36:13 +0000 (20:36 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 9 Dec 2016 11:30:19 +0000 (03:30 -0800)
commitebe1e95c87a97a33c312c69bbdf31973a74dbce3
tree03e51bb69b51f6cab015dfc2efddb1f1c2b7b12a
parentf17c813c9f95d91c53c7e72ca66473153527cdc6
minigbm: vgem: align to llvm tile size

We're planning on using Mesa with llvmpipe when running
the Android container in a virtual machine. It's faster
than softpipe. llvmpipe requires alignment to a 64-byte
tile size, so add it here.  This is the analogue to
norvez@'s drm_gralloc commiti (ag/1599269).

BUG=b:28802929, chromium:616275
TEST=run arc-cros-gralloc in QEMU

CQ-DEPEND=CL:414537

Change-Id: If4160d376447ce218df3bc410a8427b284de74fd
Reviewed-on: https://chromium-review.googlesource.com/416291
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
vgem.c