Re: [Intel-gfx] [PATCH v2] drm/i915/pmu: Only enumerate available counters in sysfs

2018-01-09 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-09 12:20:05) > From: Tvrtko Ursulin > > Switch over to dynamically creating device attributes, which are in turn > used by the perf core to expose available counters in sysfs. > > This way we do not expose counters which are not avaiable

[Intel-gfx] [PATCH v2] drm/i915/pmu: Only enumerate available counters in sysfs

2018-01-09 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Switch over to dynamically creating device attributes, which are in turn used by the perf core to expose available counters in sysfs. This way we do not expose counters which are not avaiable on the current platform, and are so more consistent