summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu-t18x.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2016-06-27 19:59:54 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:18 -0500
commitf48a806cf02fdb43542203ed27009ac05d8831e4 (patch)
treedbb9ecd7b9c470e1d4ac1f081ad5d173664e2767 /include/uapi/linux/nvgpu-t18x.h
parent00a092b729e42bc905db2b785c1564ad386c8ace (diff)
gpu: nvgpu: remove BIT macros from header file
Jira EVLR-472 Change-Id: I791f4647330bfea931da7ea6ffed95b8334b4817 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1172097 (cherry picked from commit 5b41dea91208bba53ba87be1e732c85d177a8ad3) Reviewed-on: http://git-master/r/1177825 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r--include/uapi/linux/nvgpu-t18x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h
index 24c38f80..777f1553 100644
--- a/include/uapi/linux/nvgpu-t18x.h
+++ b/include/uapi/linux/nvgpu-t18x.h
@@ -46,9 +46,9 @@
46#define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2) 46#define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2)
47 47
48/* Flags in nvgpu_preemption_mode_args.graphics_preempt_flags */ 48/* Flags in nvgpu_preemption_mode_args.graphics_preempt_flags */
49#define NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP BIT(1) 49#define NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP (1 << 1)
50/* Flags in nvgpu_preemption_mode_args.compute_preempt_flags */ 50/* Flags in nvgpu_preemption_mode_args.compute_preempt_flags */
51#define NVGPU_COMPUTE_PREEMPTION_MODE_CILP BIT(2) 51#define NVGPU_COMPUTE_PREEMPTION_MODE_CILP (1 << 2)
52 52
53/* SM LRF ECC is enabled */ 53/* SM LRF ECC is enabled */
54#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60) 54#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60)