drm/amd/amdgpu: Add MEM_LOAD to amdgpu_pm_info debugfs file
Subsystems (2)
PATCH 1/1 drm/amd/amdgpu: Add MEM_LOAD to amdgpu_pm_info debugfs file
--- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +4 -0
@@ -2955,6 +2955,10 @@ static int amdgpu_debugfs_pm_info_pp(struct seq_file *m, struct amdgpu_device *a/* GPU Load */ if (!amdgpu_dpm_read_sensor (adev,AMDGPU_PP_SENSOR_GPU_LOAD , (void *)&value, &size))seq_printf (m,"GPU Load: %u %%\n" , value); +/* MEM Load */ +if (!amdgpu_dpm_read_sensor (adev,AMDGPU_PP_SENSOR_MEM_LOAD , (void *)&value, &size)) +seq_printf (m,"MEM Load: %u %%\n" , value); +seq_printf (m,"\n" );/* SMC feature mask */
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Deucher, Alexander
Reviewed-by________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of StDenis, Tom <[email protected]>
Sent: Thursday, May 2, 2019 10:22 AM
To: [email protected]
Cc: StDenis, Tom
Subject: [PATCH] drm/amd/amdgpu: Add MEM_LOAD to amdgpu_pm_info debugfs file
[CAUTION: External Email]
--- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +4 -0
@@ -2955,6 +2955,10 @@ static int amdgpu_debugfs_pm_info_pp(struct seq_file *m, struct amdgpu_device *a/* GPU Load */ if (!amdgpu_dpm_read_sensor (adev,AMDGPU_PP_SENSOR_GPU_LOAD , (void *)&value, &size))seq_printf (m,"GPU Load: %u %%\n" , value); +/* MEM Load */ +if (!amdgpu_dpm_read_sensor (adev,AMDGPU_PP_SENSOR_MEM_LOAD , (void *)&value, &size)) +seq_printf (m,"MEM Load: %u %%\n" , value); +seq_printf (m,"\n" );/* SMC feature mask */
--
2.20.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quan, Evan
Reviewed-by Evan QuanQuoted 38 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of StDenis, Tom
Sent: 2019年5月2日 22:23
To: [email protected]
Cc: StDenis, Tom <[email protected]>
Subject: [PATCH] drm/amd/amdgpu: AddMEM_LOADtoamdgpu_pm_infodebugfs file[CAUTION: External Email]
Signed-off-by Tom St Denis <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +0
-0@@ -2955,6 +2955,10 @@ static int amdgpu_debugfs_pm_info_pp(struct
seq_file*m, structamdgpu_device*a/* GPU Load */ if (!amdgpu_dpm_read_sensor(adev, AMDGPU_PP_SENSOR_GPU_LOAD, (void *)&value, &size)) seq_printf(m, "GPU Load: %u %%\n", value);drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +2
-0+/* MEM Load */ + if (!amdgpu_dpm_read_sensor(adev,
AMDGPU_PP_SENSOR_MEM_LOAD, (void *)&value, &size))drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +2
-1+seq_printf (m,"MEM Load: %u %%\n" , value); +seq_printf (m,"\n" );/* SMC feature mask */ --2.20.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx