1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/inc
André Almeida 0ad7347a64 drm/amd: Add detailed GFXOFF stats to debugfs
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: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-16 18:17:31 -04:00
..
amdgpu_dpm.h drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
amdgpu_dpm_internal.h drm/amd/pm: optimize the amdgpu_pm_compute_clocks() implementations 2022-01-14 17:51:14 -05:00
amdgpu_pm.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
smu_v13_0_0_pptable.h drm/amd/pm: suppress compile warning about possible unaligned accesses 2022-05-10 17:53:13 -04:00