From 85b920442a617f47a7ef1f6c314c8096c2708574 Mon Sep 17 00:00:00 2001 From: Prateek Sethi Date: Thu, 31 May 2018 11:23:18 +0530 Subject: gpu: nvgpu: adding USERMODE enable bit. This change is required to keep enable USERMODE on QNX as part of gpu characteristics unification. Jira VQRM-3996 Change-Id: I9881c8d3a2dfcadf618a56deee847cd9b575ed7b Signed-off-by: Prateek Sethi Reviewed-on: https://git-master.nvidia.com/r/1735573 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: Richard Zhao Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/enabled.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h index 9ae249a2..a76db09e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h +++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h @@ -160,10 +160,13 @@ struct gk20a; /* Allocating per-channel syncpoint in user space is supported */ #define NVGPU_SUPPORT_USER_SYNCPOINT 66 +/* USERMODE enable bit */ +#define NVGPU_SUPPORT_USERMODE_SUBMIT 67 + /* * Must be greater than the largest bit offset in the above list. */ -#define NVGPU_MAX_ENABLED_BITS 67 +#define NVGPU_MAX_ENABLED_BITS 68 /** * nvgpu_is_enabled - Check if the passed flag is enabled. -- cgit v1.2.2