summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 1c601894..966d33d7 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -14,6 +14,7 @@
14 */ 14 */
15 15
16#include <linux/types.h> 16#include <linux/types.h>
17#include <linux/version.h>
17 18
18#include "gk20a/gk20a.h" 19#include "gk20a/gk20a.h"
19 20
@@ -38,7 +39,10 @@
38#include "gk20a/dbg_gpu_gk20a.h" 39#include "gk20a/dbg_gpu_gk20a.h"
39#include "gk20a/css_gr_gk20a.h" 40#include "gk20a/css_gr_gk20a.h"
40 41
42#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
41#define FUSE_OPT_PRIV_SEC_DIS_0 0x264 43#define FUSE_OPT_PRIV_SEC_DIS_0 0x264
44#endif
45
42#define PRIV_SECURITY_DISABLE 0x01 46#define PRIV_SECURITY_DISABLE 0x01
43 47
44static struct gpu_ops gm20b_ops = { 48static struct gpu_ops gm20b_ops = {