diff options
| author | Mark Brown <broonie@kernel.org> | 2026-11-13 16:07:17 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-13 16:07:24 +0000 |
| commit | d79ae538a9143e939fed9149979f40016c20462e (patch) | |
| tree | eff2fdd6bf81414fd9837b3458725a72a00ea87a /include/uapi/linux | |
| parent | 67f4c1938ac9221d75c78eaa44ca032d330a131b (diff) | |
| parent | a6836fcbb5b22968019256025321d655b78bc49c (diff) | |
| download | linux-next-d79ae538a9143e939fed9149979f40016c20462e.tar.gz linux-next-d79ae538a9143e939fed9149979f40016c20462e.zip | |
Merge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux.git
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/kfd_ioctl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h index 564faefe6978..3d608d6b0ab8 100644 --- a/include/uapi/linux/kfd_ioctl.h +++ b/include/uapi/linux/kfd_ioctl.h @@ -1558,7 +1558,16 @@ struct kfd_ioctl_dbg_trap_args { }; }; -#define KFD_IOC_PROFILER_VERSION_NUM 1 +/* + * KFD_IOC_PROFILER_VERSION_NUM history: + * - 1 - initial version + * - 2 - KFD_IOC_PROFILER_PMC lock also forces the perfmon clock on until the + * lock is released or the process exits. lock == 0 with + * perfcount_enable == 1 forces it on without CAP_PERFMON and without + * locking, until lock == 0 with perfcount_enable == 0 or the process + * exits + */ +#define KFD_IOC_PROFILER_VERSION_NUM 2 enum kfd_profiler_ops { KFD_IOC_PROFILER_PMC = 0, KFD_IOC_PROFILER_VERSION = 2, |
