summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-08-21 12:30:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-22 11:55:06 -0400
commit7b654278067dd8c253232950fc1909f5f59572ef (patch)
tree563c677e4593fe983f1eba6fef7e2db6734b0597 /drivers/gpu/nvgpu/include
parent81868a187fa3b217368206f17b19309846e8e7fb (diff)
gpu: nvgpu: Use nvgpu flags for run_preos
Accessing run_preos from gk20a_platform causes unnecessary Linux dependency, so copy the flag to abstract flags. Change-Id: I4818fb6735201f36e552c1ff45138a44a3d94db1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1542836 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sourab Gupta <sourabg@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index 5557f31f..354d3e72 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -53,6 +53,9 @@ struct gk20a;
53#define NVGPU_PMU_ZBC_SAVE 50 53#define NVGPU_PMU_ZBC_SAVE 50
54#define NVGPU_PMU_FECS_BOOTSTRAP_DONE 51 54#define NVGPU_PMU_FECS_BOOTSTRAP_DONE 51
55 55
56/* whether to run PREOS binary on dGPUs */
57#define NVGPU_PMU_RUN_PREOS 52
58
56/* 59/*
57 * Must be greater than the largest bit offset in the above list. 60 * Must be greater than the largest bit offset in the above list.
58 */ 61 */