Re: [PATCH] drm/i915/pmu: Fix build error with GCOV and AutoFDO enabled

2025-06-02 Thread Nathan Chancellor
On Thu, May 29, 2025 at 04:29:10AM +, Tzung-Bi Shih wrote: > i915_pmu.c may fail to build with GCOV and AutoFDO enabled. > > ../drivers/gpu/drm/i915/i915_pmu.c:116:3: error: call to > '__compiletime_assert_487' declared with 'error' attribute: BUILD_BUG_ON > failed: bit > BITS_PER_TYPE(typeo

[PATCH] drm/i915/pmu: Fix build error with GCOV and AutoFDO enabled

2025-05-28 Thread Tzung-Bi Shih
i915_pmu.c may fail to build with GCOV and AutoFDO enabled. ../drivers/gpu/drm/i915/i915_pmu.c:116:3: error: call to '__compiletime_assert_487' declared with 'error' attribute: BUILD_BUG_ON failed: bit > BITS_PER_TYPE(typeof_member(struct i915_pmu, enable)) - 1 116 | BUILD_BUG_