Loading
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: ce3d39fa ("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