| commit | ab11acbaed184a20e4614eb9f032709fd590acab | [log] [tgz] |
|---|---|---|
| author | Kevin DuBois <kevindubois@google.com> | Thu Oct 26 14:10:14 2023 -0700 |
| committer | Kevin DuBois <kevindubois@google.com> | Mon Feb 12 14:53:07 2024 -0800 |
| tree | f636d0e8ad08bcd30cc2ea05c5c4344d4cde84ed | |
| parent | 364752419cad568a5f6cdb6ce5dbdd126ff557e8 [diff] |
perfmgr: Add helpers to interact with GPU driver. Adds the rigging to write to the GPU capacity node, if this exists. This might be better as an ioctl at some point, but for now use the existing interfaces which are also guarded by sepolicy for access control. Bug: 290625326 Test: new unit test for GpuCapacityNode. Change-Id: I32c0790996ccf7322d63a3beb12ca56411b9b4d4