mmap.c: s/gbm_bo_map2/gbm_bo_map/ and mmap() for planar formats

This CL follows up on a comment in http://crrev/c/2808787 and uses
gbm_bo_map() ISO gbm_bo_map2() in mmap.c when the format is not
planar, and mmap() when the format is planar (YUV and similar).

BUG=b:183760490
TEST=emerge && deploy on volteer, mmap_test --gem works

Change-Id: I4b939e759dfced4263202c1b176c02bf447dd88a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/2815602
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Tested-by: Miguel Casas <mcasas@chromium.org>
1 file changed