diff options
author | Rob Clark <robdclark@chromium.org> | 2019-04-17 01:13:28 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-04-19 20:50:00 +0200 |
commit | 48dc4241c9cd62bfbe33625e669e21d7081d35fa (patch) | |
tree | e6406acd799be59e50bc0b37af6fe5f18718ab23 /include/uapi/drm | |
parent | drm/msm/gpu: add per-process pagetables param (diff) | |
download | linux-48dc4241c9cd62bfbe33625e669e21d7081d35fa.tar.xz linux-48dc4241c9cd62bfbe33625e669e21d7081d35fa.zip |
drm/msm: add param to retrieve # of GPU faults (global)
For KHR_robustness, userspace wants to know two things, the count of GPU
faults globally, and the count of faults attributed to a given context.
This patch providees the former, and the next patch provides the latter.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/msm_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index a9fdcf1689ce..178d7b407f3a 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -75,6 +75,7 @@ struct drm_msm_timespec { #define MSM_PARAM_GMEM_BASE 0x06 #define MSM_PARAM_NR_RINGS 0x07 #define MSM_PARAM_PP_PGTABLE 0x08 /* => 1 for per-process pagetables, else 0 */ +#define MSM_PARAM_FAULTS 0x09 struct drm_msm_param { __u32 pipe; /* in, MSM_PIPE_x */ |