accel/ivpu: Expose NPU frequency into userspace
Status from this message: Applied to drm-misc-fixes
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | accel/ivpu: Fix the NPU's DPU frequency calculationdrivers/ drivers/ drivers/ +3 more | +66 | 1 reply | |
| 2/2 | accel/ivpu: Show NPU frequency in sysfsdrivers/ drivers/ drivers/ +1 more | +62 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jeff Hugo | Jacek Lawrynowicz |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] accel/ivpu: Expose NPU frequency into userspace
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(-)
Signature · 1 line
2.43.0