summaryrefslogtreecommitdiff
path: root/tools/lib/python/__init__.py
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2026-01-07 12:57:32 -0800
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2026-01-18 16:54:01 +0100
commitca9e5115e870b9a531deb02752055a8a587904e3 (patch)
treef561ad25756882de4d9bc8b8578bd0c0bfd48cc6 /tools/lib/python/__init__.py
parent9dd1f5f3eb8cb175e2f7fd2a685bdb6b1bd2a726 (diff)
drm/xe: Adjust page count tracepoints in shrinker
Page accounting can change via the shrinker without calling xe_ttm_tt_unpopulate(), which normally updates page count tracepoints through update_global_total_pages. Add a call to update_global_total_pages when the shrinker successfully shrinks a BO. v2: - Don't adjust global accounting when pinning (Stuart) Cc: stable@vger.kernel.org Fixes: ce3d39fae3d3 ("drm/xe/bo: add GPU memory trace points") Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Link: https://patch.msgid.link/20260107205732.2267541-1-matthew.brost@intel.com (cherry picked from commit cc54eabdfbf0c5b6638edc50002cfafac1f1e18b) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions