diff options
| author | Lijo Lazar <[email protected]> | 2025-05-05 11:23:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-22 16:01:33 +0000 |
| commit | 54a01f775194a8b5acc6bd735aa0d092469dcff7 (patch) | |
| tree | 8616502d3f7852b49cbf1fffde4300c6aeffcedd /drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | |
| parent | drm/amdgpu: Register aqua vanjaram jpeg poison irq (diff) | |
| download | kernel-54a01f775194a8b5acc6bd735aa0d092469dcff7.tar.gz kernel-54a01f775194a8b5acc6bd735aa0d092469dcff7.zip | |
drm/amd/pm: Add support to query partition metrics
Add interfaces to query compute partition related metrics data.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h index d47e32ae4671..9aacc7bc1c69 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h @@ -1466,6 +1466,12 @@ struct pptable_funcs { */ int (*set_wbrf_exclusion_ranges)(struct smu_context *smu, struct freq_band_range *exclusion_ranges); + /** + * @get_xcp_metrics: Get a copy of the partition metrics table from SMU. + * Return: Size of table + */ + ssize_t (*get_xcp_metrics)(struct smu_context *smu, int xcp_id, + void *table); }; typedef enum { |
