aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
AgeCommit message (Collapse)Author
2020-04-23igt: add Android compatible test runner.Kevin DuBois
Adds compatibility runner to integrate igt-gpu-tools to the android test runner, tradefederation. Includes a python unittest runner. Test: atest igt_gpu_tools Fixes: 152336173 Change-Id: Ie936aea2993787bbaa9197c283e3047e866585c1
2020-02-12igt-gpu-tools: build kms_vblank testKevin DuBois
Add kms_vblank test build target. kms_vblank tests the vsync event signals for correctness and timing accurracy. Test: builds and runs (with some failures) on a Pixel 4. Fixes: 149217819 Change-Id: I0152d332a980347ce4e40173dc3b3c48f207df3b
2019-12-06igt-gpu-tools: build kms_atomic testSean Callanan
kms_flip tests the legacy buffer flipping path, whereas kms_atomic validates the modern atomic path. Build that, while extracting a few unresolved Cairo dependencies. Test: builds and runs (but fails) on a Pixel 4. Bug: 145776589 Change-Id: I78c7bd9c661ef47b7633e1e2d905ec0b107e49d9
2019-11-27igt-gpu-tools: add tests for ion/gem interactionSean Callanan
This test is meant to validate interoperability between ion buffers and DRM. It currently checks three things: - that an ion fd can be allocated and transformed into a DRM fb - that an ion fd can be allocated, converted to a GEM buffer, and then re-extracted to an ion fd - that an ion fd can be allocated and mapped, and that converting it to a GEM buffer results in the same data Bug: 142890405 Test: Run on a device with adb root Change-Id: I730ae40c8367937a931e3206255b6a0a5e8540b3
2019-11-27Merge "igt-gpu-tools: build kms_flip tests"Treehugger Robot
2019-11-27igt-gpu-tools: build kms_flip testsSean Callanan
The kms_flip tests validate the core buffer flipping path. Ensure that they build and #ifdef out dependencies that are not resolved on Android. Notably this disables cairo and pixman support for now, which means hand-conversion of buffer formats and drawing sample images won't work. Bug: 145243412 Test: m kms_flip Change-Id: Ib9e74ea7efa637d647ac453700bbbfab95067b76
2019-11-26Drop dependency on GNU libunwind shared library.Peter Collingbourne
We would like to use the name "libunwind" for something other than the almost-unused GNU libunwind. This is the only user of the GNU libunwind shared library in the tree, aside from GNU libunwind's own unit tests (which I will fix separately). However, the code that uses GNU libunwind was put behind an #ifndef ANDROID in commit 57eb94f1. The only remaining use was the reference in the header #include. Put that behind the #ifndef as well, so that we can remove the reference to libunwind. Bug: 144430859 Change-Id: Ic5049762d9e3fa11beff946927baa771f7152ff5
2019-11-21igt-gpu-tools: Extract common code into a librarySean Callanan
igt-gpu-tools is basically a library for making tests. To simplify writing individual tests, extracted all the common code into a static library and allowed tests to reuse a common set of defaults. Bug: 142890405 Test: built gem_blt successfully Change-Id: Ia435530ae02d782d70a574276ad9e4d426decde2
2019-10-25Initial Android build supportAlistair Strachan
Bug: 110963635 Change-Id: Iba53536c21e13d19bee2bfbe3a9b74c906b2c2ad