OSDN Git Service

minigbm: Compile with large file support
authorRicky Liang <jcliang@chromium.org>
Sat, 29 Oct 2016 07:37:45 +0000 (15:37 +0800)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 9 Nov 2016 17:41:31 +0000 (09:41 -0800)
commitfe46031f72c987dada675eff49e2bde3a214cbca
tree56e1afc39916718d981339d4becf28a1b7494da2
parent934c15e742a3b18dac80ceb6c4684b17869048b0
minigbm: Compile with large file support

On device with 32-bit userspace on 64-bit kernel we need to make
sure mmap64 is used to import buffer, or the call may fail because
of invalid offset.

BUG=None
TEST=Use libgbm to import drm_gralloc buffer on Elm.

Change-Id: I1b70d105e6f135d8fa534fb99cad266eed910ea9
Reviewed-on: https://chromium-review.googlesource.com/405147
Commit-Ready: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Makefile