diff options
| author | Karol Wachowski <karol.wachowski@linux.intel.com> | 2025-11-06 11:10:52 +0100 |
|---|---|---|
| committer | Karol Wachowski <karol.wachowski@linux.intel.com> | 2025-11-12 07:58:44 +0100 |
| commit | 5ce6778a31b4b1468211b75aa84166c5f2db4c3c (patch) | |
| tree | 8aaf15e1c166f9be75d87aa17c981c2139a45789 /tools/docs/check-variable-fonts.py | |
| parent | 63cc028484abb7c2c61118f492b95083a2913b12 (diff) | |
accel/ivpu: Count only resident buffers in memory utilization
Do not count buffer objects that have no backing pages, including imported
buffers where pages are set by VM faults triggered by userspace or pinned
by other drivers. Instead, return information about actual memory used by
the NPU.
Counting imported buffers results in incorrect calculations when
the same pages are counted multiple times, giving overly high
results.
Fixes: 7bfc9fa99580 ("accel/ivpu: Expose NPU memory utilization info in sysfs")
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://patch.msgid.link/20251106101052.1050348-3-karol.wachowski@linux.intel.com
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
