I915_PMU_SAMPLE_BITS
#define ENGINE_SAMPLE_BITS (1 << I915_PMU_SAMPLE_BITS)
return (event->attr.config >> I915_PMU_SAMPLE_BITS) & 0xff;
GEM_BUG_ON(sample >= I915_PMU_SAMPLE_BITS);
GEM_BUG_ON(sample >= I915_PMU_SAMPLE_BITS);
((1 << I915_PMU_SAMPLE_BITS) + \
unsigned int enable_count[I915_PMU_SAMPLE_BITS];
(I915_PMU_SAMPLE_BITS + I915_PMU_SAMPLE_INSTANCE_BITS)
(instance) << I915_PMU_SAMPLE_BITS | \