diff options
author | 2024-04-02 12:49:27 +0200 | |
---|---|---|
committer | 2024-04-08 10:54:21 +0200 | |
commit | c52c35e5b404b95a5bcff39af9be1b9293be3434 (patch) | |
tree | 7facc89eb5b32e566f6189db16f4f05bbf604713 /mm/shmem_quota.c | |
parent | accel/ivpu: Improve clarity of MMU error messages (diff) | |
download | linux-c52c35e5b404b95a5bcff39af9be1b9293be3434.tar.gz linux-c52c35e5b404b95a5bcff39af9be1b9293be3434.tar.bz2 linux-c52c35e5b404b95a5bcff39af9be1b9293be3434.zip |
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 'mm/shmem_quota.c')
0 files changed, 0 insertions, 0 deletions