Commit a9e1277
authored
ui: Restrict Wattson GPU track to supported devices (#5834)
Dynamically check if the current device has GPU curves before enabling
the Wattson GPU estimate track. This replaces the hardcoded SoC checks
with a query to `_gpu_filtered_curves` in `wattson.curves.utils`. The
GPU track will only show up if the trace contains GPU frequency events,
GPU power state events, and the device has compatible GPU curves.
Bug: 512481646
Test: UI test
Signed-off-by: Runping Lai <runpinglai@google.com>1 parent fef9c95 commit a9e1277
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | | - | |
223 | | - | |
| 224 | + | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
0 commit comments