aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2024-10-02 21:27:17 +0000
committerChristian Brauner <[email protected]>2024-10-10 08:20:46 +0000
commit2a15385742c689a271345dcbb4c28b9c568bc7ce (patch)
treeae5946a9f20a5508c8c77a74b574f399d87e1b19 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenttimekeeping: Add interfaces for handling timestamps with a floor value (diff)
downloadkernel-2a15385742c689a271345dcbb4c28b9c568bc7ce.tar.gz
kernel-2a15385742c689a271345dcbb4c28b9c568bc7ce.zip
timekeeping: Add percpu counter for tracking floor swap events
The mgtime_floor value is a global variable for tracking the latest fine-grained timestamp handed out. Because it's a global, track the number of times that a new floor value is assigned. Add a new percpu counter to the timekeeping code to track the number of floor swap events that have occurred. A later patch will add a debugfs file to display this counter alongside other stats involving multigrain timestamps. Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Randy Dunlap <[email protected]> # documentation bits Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions