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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user