Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c483 static int init_pmu_entry_by_type_and_add(struct amdgpu_pmu_entry *pmu_entry, in init_pmu_entry_by_type_and_add() argument
487 &pmu_entry->fmt_attr_group, in init_pmu_entry_by_type_and_add()
488 &pmu_entry->evt_attr_group, in init_pmu_entry_by_type_and_add()
494 pmu_entry->pmu = (struct pmu){ in init_pmu_entry_by_type_and_add()
504 ret = amdgpu_pmu_alloc_pmu_attrs(&pmu_entry->fmt_attr_group, in init_pmu_entry_by_type_and_add()
505 &pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
506 &pmu_entry->evt_attr_group, in init_pmu_entry_by_type_and_add()
507 &pmu_entry->evt_attr, in init_pmu_entry_by_type_and_add()
513 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
516 if (pmu_entry->pmu_perf_type == AMDGPU_PMU_PERF_TYPE_ALL) { in init_pmu_entry_by_type_and_add()
[all …]