/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | smu_internal.h | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
H A D | amdgpu_smu.c | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
/openbmc/linux/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | amdgpu_smu.h | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_dpm.c | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gfx.h | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
H A D | amdgpu_debugfs.c | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
H A D | amdgpu_gfx.c | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|
H A D | amdgpu_device.c | diff 0ad7347a64ac4baec1786810709eebedc5f823d5 Wed Aug 10 18:28:55 CDT 2022 André Almeida <andrealmeid@igalia.com> 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>
|