diff options
| author | Ankit Nautiyal <ankit.k.nautiyal@intel.com> | 2025-09-24 19:45:39 +0530 |
|---|---|---|
| committer | Ankit Nautiyal <ankit.k.nautiyal@intel.com> | 2025-09-25 18:38:19 +0530 |
| commit | 94da8e5eee9c2e33cc1d2d61029c9db0c6c5a55a (patch) | |
| tree | 0839e3a62160b51aa65613815eab535fd0acde1a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4e5c033cfe851625908b2121bf2c01eadabc4906 (diff) | |
| download | linux-94da8e5eee9c2e33cc1d2d61029c9db0c6c5a55a.tar.gz linux-94da8e5eee9c2e33cc1d2d61029c9db0c6c5a55a.zip | |
drm/i915/reg_defs: Add REG_FIELD_MAX wrapper for FIELD_MAX()
Introduce REG_FIELD_MAX macro as local wrapper around FIELD_MAX() to return
the maximum value representable by a bit mask. The value is cast to u32
for consistency with other REG_* macros and assumes the bitfield fits
within 32 bits.
v2: Use __mask as macro argument aligning with other macros. (Ville)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20250924141542.3122126-8-ankit.k.nautiyal@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
