Re: [RFC][PATCH 1/5] libdrm: Use mmap64 instead of __mmap2

2019-04-23 Thread Emil Velikov
On Sat, 20 Apr 2019 at 05:25, John Stultz wrote: > > From: Sean Paul > > __mmap2 isn't supported on all platforms, mmap64 is the right way > to do this in android. > > Also folds in a fix from Stéphane Marchesin > to use an offset in bytes not pages, as that's what mmap64 takes. > > Cc: Emil

Re: [RFC][PATCH 1/5] libdrm: Use mmap64 instead of __mmap2

2019-04-22 Thread Alex Deucher
On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > From: Sean Paul > > __mmap2 isn't supported on all platforms, mmap64 is the right way > to do this in android. > > Also folds in a fix from Stéphane Marchesin > to use an offset in bytes not pages, as that's what mmap64 takes. > > Cc: Emil

[RFC][PATCH 1/5] libdrm: Use mmap64 instead of __mmap2

2019-04-19 Thread John Stultz
From: Sean Paul __mmap2 isn't supported on all platforms, mmap64 is the right way to do this in android. Also folds in a fix from Stéphane Marchesin to use an offset in bytes not pages, as that's what mmap64 takes. Cc: Emil Velikov Cc: Sean Paul Cc: Alistair Strachan Cc: Marissa Wall