(subset) [PATCH] drm/v3d: Fix perfmon build error/warning

Maxime Ripard mripard at kernel.org
Wed Jun 5 08:49:10 UTC 2024


On Tue, 04 Jun 2024 17:02:10 +0100, Tvrtko Ursulin wrote:
> Move static const array into the source file to fix the "defined but not
> used" errors.
> 
> The fix is perhaps not the prettiest due hand crafting the array sizes
> in v3d_performance_counters.h, but I did add some build time asserts to
> validate the counts look sensible, so hopefully it is good enough for a
> quick fix.
> 
> [...]

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime



More information about the dri-devel mailing list