On 4/2/2024 4:49 AM, Jacek Lawrynowicz wrote:
DRM_IVPU_PARAM_CORE_CLOCK_RATE returned current NPU frequency which

Commit text should be present tense, so returned->returns

could be 0 if device was sleeping. This value wasn't really useful to

also wasn't->isn't

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: <sta...@vger.kernel.org> # v6.7
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynow...@linux.intel.com>

With the above,
Reviewed-by: Jeffrey Hugo <quic_jh...@quicinc.com>

Reply via email to