[PATCH 0/2] accel/ivpu: Expose NPU frequency into userspace
Maciej Falkowski
maciej.falkowski at linux.intel.com
Tue Apr 1 15:59:10 UTC 2025
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(-)
--
2.43.0
More information about the dri-devel
mailing list