diff options
author | Rob Clark <robdclark@chromium.org> | 2019-04-16 01:55:45 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-04-19 20:49:42 +0200 |
commit | d674c963af7470b6394b4b7f98cf2716b3a757d7 (patch) | |
tree | 5c0a4c4b01f594a92c08db80efa1bf7c63cbb4ef /include/uapi/drm/msm_drm.h | |
parent | drm/msm: a5xx: fix possible object reference leak (diff) | |
download | linux-d674c963af7470b6394b4b7f98cf2716b3a757d7.tar.xz linux-d674c963af7470b6394b4b7f98cf2716b3a757d7.zip |
drm/msm/gpu: add per-process pagetables param
For now it always returns '0' (false), but once the iommu work is in
place to enable per-process pagetables we can update the value returned.
Userspace needs to know this to make an informed decision about exposing
KHR_robustness.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/uapi/drm/msm_drm.h')
-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 91a16b333c69..a9fdcf1689ce 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -74,6 +74,7 @@ struct drm_msm_timespec { #define MSM_PARAM_TIMESTAMP 0x05 #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 */ struct drm_msm_param { __u32 pipe; /* in, MSM_PIPE_x */ |