diff options
author | Karol Wachowski <karol.wachowski@linux.intel.com> | 2023-10-20 13:44:58 +0300 |
---|---|---|
committer | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2023-10-23 09:59:20 +0300 |
commit | c39dc15191c4d40c58ce986e5f0daf94c84b7324 (patch) | |
tree | 06836709fea6989bae0ee4d9ef22dd00ad0c00e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 74ce0f3873821f12391bcf5469d81583d34f4c6c (diff) | |
download | linux-c39dc15191c4d40c58ce986e5f0daf94c84b7324.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions