intel: Switch uint64_t intel_debug to a bitset

We are reaching our limit of adding flags to intel_debug
(apporaching 64 flags). Switch intel_debug to a bitset,
which gives us almost "unlimited" bits to use in the future.

v2(Michael Cheng): Fixed a few ci errors

Signed-off-by: Michael Cheng <michael.cheng@intel.com>
Reviewed-by: Casey Bowman <casey.g.bowman@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34596>
This commit is contained in:
Michael Cheng
2025-04-18 14:48:08 -07:00
committed by Marge Bot
parent 2a1aa129ed
commit ad328bc58d
5 changed files with 128 additions and 88 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ main(int argc, char *argv[])
}
/* Force metric loading. */
intel_debug |= DEBUG_NO_OACONFIG;
BITSET_SET(intel_debug, DEBUG_NO_OACONFIG);
struct intel_perf_config *perf_cfg = intel_perf_new(NULL);
intel_perf_init_metrics(perf_cfg, &devinfo, -1, true, true);