Applied to drm-misc-fixes On 4/1/2025 5:59 PM, Maciej Falkowski wrote: > This patchset introduces the capability to measure the NPU frequency > and makes it accessible to a userspace via sysfs. The initial patch in the > series > addresses the inconsistency in retrieving the clock frequency from > the device across the Meteor Lake and Lunar Lake generations. > > Subsequently, the latter patch exposes the driver's frequency > through sysfs to facilitate frequency sampling. > > Andrzej Kacprowski (2): > accel/ivpu: Fix the NPU's DPU frequency calculation > accel/ivpu: Show NPU frequency in sysfs > > drivers/accel/ivpu/ivpu_drv.c | 4 +- > drivers/accel/ivpu/ivpu_fw.c | 3 +- > drivers/accel/ivpu/ivpu_hw.h | 14 ++-- > drivers/accel/ivpu/ivpu_hw_btrs.c | 134 ++++++++++++++---------------- > drivers/accel/ivpu/ivpu_hw_btrs.h | 7 +- > drivers/accel/ivpu/ivpu_sysfs.c | 49 ++++++++++- > include/uapi/drm/ivpu_accel.h | 4 +- > 7 files changed, 127 insertions(+), 88 deletions(-) >