diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2023-05-19 18:49:40 +0300 |
---|---|---|
committer | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2023-05-22 21:07:48 +0300 |
commit | a644fde77ff73ee54970c0fc5a64cf7624c8b5b1 (patch) | |
tree | 32017b0b9d4ca465da991ece814aa18569be6629 /include/asm-generic/local.h | |
parent | 25553494b275a1a4cf06e4a7aa4073817cb2b846 (diff) | |
download | linux-a644fde77ff73ee54970c0fc5a64cf7624c8b5b1.tar.xz |
drm/i915/pmu: Change bitmask of enabled events to u32
Having it as u64 was a confusing (but harmless) mistake.
Also add some asserts to make sure the internal field does not overflow
in the future.
v2: Fix WARN_ON firing for INTERRUPT event (Umesh)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230519154946.3751971-2-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'include/asm-generic/local.h')
0 files changed, 0 insertions, 0 deletions