On 05.04.2024 17:26, Jeffrey Hugo wrote: > 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 OK >> could be 0 if device was sleeping. This value wasn't really useful to > > also wasn't->isn't OK >> 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@xxxxxxxxxxxxxxx> # v6.7 >> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@xxxxxxxxxxxxxxx> > > With the above, > Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>