aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJacek Lawrynowicz <[email protected]>2024-04-02 12:49:27 +0200
committerJacek Lawrynowicz <[email protected]>2024-04-08 10:54:21 +0200
commitc52c35e5b404b95a5bcff39af9be1b9293be3434 (patch)
tree7facc89eb5b32e566f6189db16f4f05bbf604713 /tools/perf/scripts/python/export-to-postgresql.py
parent3556f922612caf4c9b97cf7337626f8342b3dea3 (diff)
accel/ivpu: Return max freq for DRM_IVPU_PARAM_CORE_CLOCK_RATE
DRM_IVPU_PARAM_CORE_CLOCK_RATE returns current NPU frequency which could be 0 if device was sleeping. This value isn't really useful to the user space, so return max freq instead which can be used to estimate NPU performance. Fixes: c39dc15191c4 ("accel/ivpu: Read clock rate only if device is up") Cc: <[email protected]> # v6.7 Signed-off-by: Jacek Lawrynowicz <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions