summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2017-06-12 09:16:47 -0600
committerJordan Crouse <jcrouse@codeaurora.org>2017-06-19 15:50:30 -0600
commitb25ea02d2273fb6ee2a797f7d67da341d7b60b6b (patch)
treecbd0f6ca928a45ce282873a9cfe2c564e9f6e5b9 /include/uapi
parentb674857b834e03f0b789e7def6948a34c246ae60 (diff)
drm/msm: Add a submit queue flag to disable the QoS timer
Allow priviliged (CAP_SYS_ADMIN) processes to disable the hangcheck / quality of service timer to allow individual submits to run for as long as they need. Change-Id: Ic0dedbad1399ebe7c6db74ba374bfa3a6f72917a Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/msm_drm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index ce05a3974572..d8b8ef16b14a 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -362,7 +362,13 @@ struct drm_msm_gem_sync {
* use and query 0 but cannot destroy it.
*/
-#define MSM_SUBMITQUEUE_FLAGS (0)
+/*
+ * Allows a process to bypass the 2 second quality of service timeout.
+ * Only CAP_SYS_ADMIN capable processes can set this flag.
+ */
+#define MSM_SUBMITQUEUE_BYPASS_QOS_TIMEOUT 0x00000001
+
+#define MSM_SUBMITQUEUE_FLAGS (MSM_SUBMITQUEUE_BYPASS_QOS_TIMEOUT)
struct drm_msm_submitqueue {
__u32 flags; /* in, MSM_SUBMITQUEUE_x */