commit | 7bdd19ac8c23ea893d108385a553ecc4e6afc5af | [log] [tgz] |
---|---|---|
author | Dongseong Hwang <dongseong.hwang@intel.com> | Mon Mar 27 18:41:44 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Apr 13 03:22:30 2017 |
tree | 1d8e26f52b3aee99d0ce31f3cea8d9b75e7a3233 | |
parent | 20c494c2bb207f5c765eb28cb283f57e7294ba56 [diff] |
drm-tests: use dma-buf mmap synchronization ioctls. If the hardware doesn't gurantee CPU and GPU cache coherence (e.g. Atom chipset), then userspace might need some sort of cache coherency mechanism. The DMA-buf sync ioctl is used to maintain coherency when CPU and GPU are being acessing the dma-buf at the same time. https://lists.freedesktop.org/archives/dri-devel/2015-December/097271.html TEST=mmap_test on Pixel 2015 BUG=chromium:356871 Change-Id: Ic8c204f5ce8113d1573ad1d7d4a6e88d86f01b2f Reviewed-on: https://chromium-review.googlesource.com/456509 Commit-Ready: Dongseong Hwang <dongseong.hwang@intel.com> Tested-by: Dongseong Hwang <dongseong.hwang@intel.com> Reviewed-by: Dongseong Hwang <dongseong.hwang@intel.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>