summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-05-23 19:06:48 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-30 16:24:35 -0400
commit8d6b5cc349643c5e96384a8dbc27afc705bc5bfc (patch)
treec3cb1335c0da0aef85c6a54d286b2bc159fd9460 /drivers/gpu/nvgpu/include
parent66a2511a366113fa4d42dc500c9df9b348d9f208 (diff)
gpu: nvgpu: Move unify_address_spaces to flags
Use the enabled flags API to handle the unify_address_sapce spaces flag. JIRA NVGPU-84 JIRA NVGPU-12 JIRA NVGPU-30 Change-Id: Id1b59aed4b349d6067615991597d534936cc5ce9 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1488307 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index 5d30ba12..a0b809ca 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -29,6 +29,11 @@ struct gk20a;
29#define NVGPU_DRIVER_IS_DYING 2 29#define NVGPU_DRIVER_IS_DYING 2
30 30
31/* 31/*
32 * MM flags.
33 */
34#define NVGPU_MM_UNIFY_ADDRESS_SPACES 16
35
36/*
32 * Must be greater than the largest bit offset in the above list. 37 * Must be greater than the largest bit offset in the above list.
33 */ 38 */
34#define NVGPU_MAX_ENABLED_BITS 64 39#define NVGPU_MAX_ENABLED_BITS 64