commit | dc4534da3a07fe861eec3959458e4c41768b74c2 | [log] [tgz] |
---|---|---|
author | Miguel Casas <mcasas@chromium.org> | Thu Apr 08 16:52:52 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 09 00:40:38 2021 |
tree | c68c3eca22b59b33c871ceaa083d3059fffd7758 | |
parent | 6d4098e3227467c6e90005d76321c0ccd787b547 [diff] |
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>