summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-01-31 18:01:05 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-02 15:12:02 -0500
commit5cb742d228c6816e7fdd1220f4b4ee3378abf3dc (patch)
tree9499a43ae57f3bfc0c916bd5793cf5b25557b058 /drivers/gpu/nvgpu/include
parent98da3f8eed914225e9ffe0f768d7647506e95cdc (diff)
gpu: nvgpu: gv11b: add scg support info in gpu characteristics
Indicated support for Simultaneous Compute and Graphics(SCG) in gpu characteristics for gv11b. Bug 2053932 Change-Id: I788e22242083dff775dd4cc5b9aa73c938028536 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1649805 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index 4d8dbb08..edf38a6a 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -150,10 +150,12 @@ struct gk20a;
150#define NVGPU_SUPPORT_ASPM 62 150#define NVGPU_SUPPORT_ASPM 62
151/* subcontexts are available */ 151/* subcontexts are available */
152#define NVGPU_SUPPORT_TSG_SUBCONTEXTS 63 152#define NVGPU_SUPPORT_TSG_SUBCONTEXTS 63
153/* Simultaneous Compute and Graphics (SCG) is available */
154#define NVGPU_SUPPORT_SCG 64
153/* 155/*
154 * Must be greater than the largest bit offset in the above list. 156 * Must be greater than the largest bit offset in the above list.
155 */ 157 */
156#define NVGPU_MAX_ENABLED_BITS 64 158#define NVGPU_MAX_ENABLED_BITS 65
157 159
158/** 160/**
159 * nvgpu_is_enabled - Check if the passed flag is enabled. 161 * nvgpu_is_enabled - Check if the passed flag is enabled.