diff --git a/drivers/gpu/drm/i915/i915_pmu.c b/drivers/gpu/drm/i915/i915_pmu.c index 065a28c713c48e4174d16a15ea922d0f2a0b2fd5..ecb0198bfb7ab715a8c61411dce968ed9bf6ba01 100644 --- a/drivers/gpu/drm/i915/i915_pmu.c +++ b/drivers/gpu/drm/i915/i915_pmu.c @@ -843,7 +843,7 @@ create_event_attributes(struct drm_i915_private *i915) *attr_iter++ = &i915_iter->attr.attr; i915_iter = add_i915_attr(i915_iter, str, - __I915_PMU_ENGINE(engine->class, + __I915_PMU_ENGINE(engine->uabi_class, engine->instance, engine_events[i].sample));