summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-04-02 13:49:27 +0300
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-04-08 11:54:21 +0300
commitc52c35e5b404b95a5bcff39af9be1b9293be3434 (patch)
tree7facc89eb5b32e566f6189db16f4f05bbf604713 /tools/perf/scripts/python/export-to-postgresql.py
parent3556f922612caf4c9b97cf7337626f8342b3dea3 (diff)
downloadlinux-c52c35e5b404b95a5bcff39af9be1b9293be3434.tar.xz
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: <stable@vger.kernel.org> # v6.7 Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240402104929.941186-7-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions