Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c54 struct attribute_group fmt_attr_group; member
443 struct attribute_group *fmt_attr_group, in amdgpu_pmu_alloc_pmu_attrs() argument
455 fmt_attr_group->attrs = kcalloc(config->num_formats + 1, in amdgpu_pmu_alloc_pmu_attrs()
456 sizeof(*fmt_attr_group->attrs), GFP_KERNEL); in amdgpu_pmu_alloc_pmu_attrs()
458 if (!fmt_attr_group->attrs) in amdgpu_pmu_alloc_pmu_attrs()
476 kfree(fmt_attr_group->attrs); in amdgpu_pmu_alloc_pmu_attrs()
487 &pmu_entry->fmt_attr_group, 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()
513 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
566 kfree(pmu_entry->fmt_attr_group.attrs); in init_pmu_entry_by_type_and_add()
[all …]