All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] drm/amdgpu/pm: add VCN activity for renoir
@ 2025-03-11 20:44 Alex Deucher
  2025-03-11 20:44 ` [PATCH 2/6] drm/amdgpu/pm: add VCN activity for SMU 13.0.0/7 Alex Deucher
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Alex Deucher @ 2025-03-11 20:44 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

Wire up the query.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
index 37d82a71a2d7c..9481f897432d7 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
@@ -1285,6 +1285,12 @@ static int renoir_read_sensor(struct smu_context *smu,
 						  (uint32_t *)data);
 		*size = 4;
 		break;
+	case AMDGPU_PP_SENSOR_VCN_LOAD:
+		ret = renoir_get_smu_metrics_data(smu,
+						  METRICS_AVERAGE_VCNACTIVITY,
+						  (uint32_t *)data);
+		*size = 4;
+		break;
 	case AMDGPU_PP_SENSOR_EDGE_TEMP:
 		ret = renoir_get_smu_metrics_data(smu,
 						  METRICS_TEMPERATURE_EDGE,
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-03-12  5:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 20:44 [PATCH 1/6] drm/amdgpu/pm: add VCN activity for renoir Alex Deucher
2025-03-11 20:44 ` [PATCH 2/6] drm/amdgpu/pm: add VCN activity for SMU 13.0.0/7 Alex Deucher
2025-03-11 20:44 ` [PATCH 3/6] drm/amdgpu/pm: add VCN activity for SMU 14.0.2 Alex Deucher
2025-03-11 20:44 ` [PATCH 4/6] drm/amdgpu/pm: enable vcn busy sysfs for additional GC 11.x Alex Deucher
2025-03-11 20:44 ` [PATCH 5/6] drm/amdgpu/pm: enable vcn busy sysfs for GC 12.x Alex Deucher
2025-03-11 20:44 ` [PATCH 6/6] drm/amdgpu/pm: enable vcn busy sysfs for GC 9.3.0 Alex Deucher
2025-03-12  5:28 ` [PATCH 1/6] drm/amdgpu/pm: add VCN activity for renoir Feng, Kenneth
2025-03-12  5:35 ` Lazar, Lijo
2025-03-12  5:59 ` Lazar, Lijo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.