From 7b654278067dd8c253232950fc1909f5f59572ef Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 21 Aug 2017 09:30:11 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1542836 Reviewed-by: svccoveritychecker Reviewed-by: svc-mobile-coverity Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sourab Gupta GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/enabled.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/include') 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; #define NVGPU_PMU_ZBC_SAVE 50 #define NVGPU_PMU_FECS_BOOTSTRAP_DONE 51 +/* whether to run PREOS binary on dGPUs */ +#define NVGPU_PMU_RUN_PREOS 52 + /* * Must be greater than the largest bit offset in the above list. */ -- cgit v1.2.2