diff options
author | Prateek Sethi <prsethi@nvidia.com> | 2018-05-31 01:53:18 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:06 -0400 |
commit | 85b920442a617f47a7ef1f6c314c8096c2708574 (patch) | |
tree | e15f6e3048c58f2b0321f77cdfe5e4ffe8202d66 /drivers/gpu/nvgpu | |
parent | 4252e00aa6f2a82ecf608f86d8057bac8cc97e15 (diff) |
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 <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1735573
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/enabled.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; | |||
160 | /* Allocating per-channel syncpoint in user space is supported */ | 160 | /* Allocating per-channel syncpoint in user space is supported */ |
161 | #define NVGPU_SUPPORT_USER_SYNCPOINT 66 | 161 | #define NVGPU_SUPPORT_USER_SYNCPOINT 66 |
162 | 162 | ||
163 | /* USERMODE enable bit */ | ||
164 | #define NVGPU_SUPPORT_USERMODE_SUBMIT 67 | ||
165 | |||
163 | /* | 166 | /* |
164 | * Must be greater than the largest bit offset in the above list. | 167 | * Must be greater than the largest bit offset in the above list. |
165 | */ | 168 | */ |
166 | #define NVGPU_MAX_ENABLED_BITS 67 | 169 | #define NVGPU_MAX_ENABLED_BITS 68 |
167 | 170 | ||
168 | /** | 171 | /** |
169 | * nvgpu_is_enabled - Check if the passed flag is enabled. | 172 | * nvgpu_is_enabled - Check if the passed flag is enabled. |