diff options
author | 2024-05-13 14:04:31 +0200 | |
---|---|---|
committer | 2024-05-15 07:42:29 +0200 | |
commit | 0adff3b0ef12483a79dc8415b94547853d26d1f3 (patch) | |
tree | a9e1fa2997e813dff3e586d0c5a8d02cf57a9981 /drivers/gpu/drm/drm_fbdev_dma.c | |
parent | accel/ivpu: Increase reset counter when warm boot fails (diff) | |
download | wireguard-linux-0adff3b0ef12483a79dc8415b94547853d26d1f3.tar.xz wireguard-linux-0adff3b0ef12483a79dc8415b94547853d26d1f3.zip |
accel/ivpu: Share NPU busy time in sysfs
The driver tracks the time spent by NPU executing jobs
and shares it through sysfs `npu_busy_time_us` file.
It can be then used by user space applications to monitor device
utilization.
NPU is considered 'busy' starting with a first job submitted
to firmware and ending when there is no more jobs pending/executing.
Signed-off-by: Tomasz Rusinowicz <tomasz.rusinowicz@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513120431.3187212-13-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_fbdev_dma.c')
0 files changed, 0 insertions, 0 deletions