Skip to content
Snippets Groups Projects
  1. Mar 21, 2025
    • Olivia Lee's avatar
      panthor/drm: accumulate counters from HW-triggered samples · c33030d3
      Olivia Lee authored
      
      Because counter values are written as deltas since the previous sample,
      we need to sum the values from all samples since the previous manual
      sample in order to pass accurate counts to userspace. This is especially
      important when counters are disabled in between manual samples.
      
      The main alternative approach would be to pass the HW-triggered samples
      to userspace, and let the userspace program decide how it wants to
      handle them. This would mean a more complicated uapi, and means that the
      ringbuffer will overflow if userspace does not sample frequently enough.
      
      Signed-off-by: default avatarBenjamin Lee <benjamin.lee@collabora.com>
      c33030d3
  2. Mar 14, 2025
  3. Mar 12, 2025
  4. Mar 10, 2025
  5. Mar 09, 2025
  6. Mar 07, 2025
  7. Mar 06, 2025
Loading