diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-02-25 19:57:03 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-03-04 13:04:20 +0200 |
| commit | b6d558af2d6362f9fed704302071bc765f395e0d (patch) | |
| tree | cc1689bd2331e18122808fbe79256adf0b584d2d /tools/perf/scripts/python | |
| parent | f5c8f824a495e849492f09a43bd965a8f4d86cb2 (diff) | |
drm/i915/reg: make masked field helpers constexpr
Make it possible to use _MASKED_FIELD(), _MASKED_BIT_ENABLE() and
_MASKED_BIT_DISABLE() in contexts that require integer constant
expressions. This increases their usefulness at the small cost of making
the warnings from build time checks less helpful.
Reviewed-by: MichaĆ Grzelak <michal.grzelak@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/788f538cc71dec0db25e0c768e8945bef6f9701c.1772042022.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
