panfrost: use os_mmap and os_munmap
authorMateusz Krzak <kszaquitto@gmail.com>
Sun, 7 Apr 2019 21:25:49 +0000 (23:25 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2019 16:33:00 +0000 (16:33 +0000)
commitf4fc2ece5776a2c15d9db0a2ff2b94491cfc3ebb
tree63280b9024e571ba27929a01d14a77512683d536
parent411da8b80d34552141920ed07dd6d174e5c72307
panfrost: use os_mmap and os_munmap

32-bit needs mmap64 for 64-bit offsets. We get 64-bit offsets from kernel.

Signed-off-by: Mateusz Krzak <kszaquitto@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_drm.c