Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdgpu
  • amdgpu_debugfs.c
Find file BlameHistoryPermalink
  • André Almeida's avatar
    drm/amd: Add detailed GFXOFF stats to debugfs · 0ad7347a
    André Almeida authored Aug 10, 2022
    
    
    Add debugfs interface to log GFXOFF statistics:
    
    - Read amdgpu_gfxoff_count to get the total GFXOFF entry count at the
      time of query since system power-up
    
    - Write 1 to amdgpu_gfxoff_residency to start logging, and 0 to stop.
      Read it to get average GFXOFF residency % multiplied by 100
      during the last logging interval.
    
    Both features are designed to be keep the values persistent between
    suspends.
    
    Signed-off-by: default avatarAndré Almeida <andrealmeid@igalia.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    0ad7347a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7