diff options
author | 2023-10-20 12:44:58 +0200 | |
---|---|---|
committer | 2023-10-23 08:59:20 +0200 | |
commit | c39dc15191c4d40c58ce986e5f0daf94c84b7324 (patch) | |
tree | 06836709fea6989bae0ee4d9ef22dd00ad0c00e8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | accel/ivpu: Fix verbose version of REG_POLL macros (diff) | |
download | wireguard-linux-c39dc15191c4d40c58ce986e5f0daf94c84b7324.tar.xz wireguard-linux-c39dc15191c4d40c58ce986e5f0daf94c84b7324.zip |
accel/ivpu: Read clock rate only if device is up
Do not unnecessarily wake up device to read clock rate.
Return 0 as clk_rate if device is suspended.
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231020104501.697763-4-stanislaw.gruszka@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions