Home
last modified time | relevance | path

Searched refs:pm_metrics (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_6_ppt.c548 struct amdgpu_pm_metrics *pm_metrics = metrics; in smu_v13_0_6_get_pm_metrics() local
552 if (!pm_metrics || !max_size) in smu_v13_0_6_get_pm_metrics()
555 if (max_size < (table_size + sizeof(pm_metrics->common_header))) in smu_v13_0_6_get_pm_metrics()
559 ret = smu_v13_0_6_get_metrics_table(smu, pm_metrics->data, true); in smu_v13_0_6_get_pm_metrics()
565 memset(&pm_metrics->common_header, 0, in smu_v13_0_6_get_pm_metrics()
566 sizeof(pm_metrics->common_header)); in smu_v13_0_6_get_pm_metrics()
568 pm_metrics->common_header.mp1_ip_discovery_version = IP_VERSION(13, 0, 6); in smu_v13_0_6_get_pm_metrics()
570 pm_metrics->common_header.mp1_ip_discovery_version = IP_VERSION(13, 0, 14); in smu_v13_0_6_get_pm_metrics()
571 pm_metrics->common_header.pmfw_version = pmfw_version; in smu_v13_0_6_get_pm_metrics()
572 pm_metrics->common_header.pmmetrics_version = table_version; in smu_v13_0_6_get_pm_metrics()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h526 ssize_t amdgpu_dpm_get_pm_metrics(struct amdgpu_device *adev, void *pm_metrics,
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1337 ssize_t amdgpu_dpm_get_pm_metrics(struct amdgpu_device *adev, void *pm_metrics, in amdgpu_dpm_get_pm_metrics() argument
1347 ret = pp_funcs->get_pm_metrics(adev->powerplay.pp_handle, pm_metrics, in amdgpu_dpm_get_pm_metrics()
Damdgpu_pm.c2444 AMDGPU_DEVICE_ATTR_RO(pm_metrics, ATTR_FLAG_BASIC,
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h1301 ssize_t (*get_pm_metrics)(struct smu_context *smu, void *pm_metrics,
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c3455 static ssize_t smu_sys_get_pm_metrics(void *handle, void *pm_metrics, in smu_sys_get_pm_metrics() argument
3466 return smu->ppt_funcs->get_pm_metrics(smu, pm_metrics, size); in smu_sys_get_pm_metrics()