Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c63 struct amdgpu_pmu_event_attribute *amdgpu_pmu_attr; in amdgpu_pmu_event_show() local
65 amdgpu_pmu_attr = container_of(attr, struct amdgpu_pmu_event_attribute, in amdgpu_pmu_event_show()
68 if (!amdgpu_pmu_attr->type) in amdgpu_pmu_event_show()
69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show()
72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show()
78 struct amdgpu_pmu_attr { struct
89 struct amdgpu_pmu_attr *formats; argument
91 struct amdgpu_pmu_attr *events;
114 static struct amdgpu_pmu_attr amdgpu_pmu_formats[NUM_FORMATS_AMDGPU_PMU] = {
122 static struct amdgpu_pmu_attr vega20_events[NUM_EVENTS_VEGA20_MAX] = {
[all …]