diff options
author | Shashank Singh <shashsingh@nvidia.com> | 2018-02-28 05:47:15 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-10 12:43:51 -0400 |
commit | e1200259ba3ad4ae416990b2f2abccb94565430f (patch) | |
tree | 4b53dbb0bc4787741b8c45a868026fd4960a204e /drivers/gpu/nvgpu/gp106/flcn_gp106.c | |
parent | d693952a0b52127f23093c28a2896a3fd395485b (diff) |
gpu: nvgpu: fix misc issue for dgpu code on QNX build
- QNX is pulling dgpu code from linux which has
multiple build failure on QNX. Like QNX needs
explicit declaration for all non-static functions.
Some linux specific headers need to be put under
__KERNEL__ flag.
Change-Id: I15af1a1f6a069c82f9a81449f4f7c7d48612de42
Signed-off-by: Shashank Singh <shashsingh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1665752
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/flcn_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/flcn_gp106.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.c b/drivers/gpu/nvgpu/gp106/flcn_gp106.c index 7949edb7..f553f5e1 100644 --- a/drivers/gpu/nvgpu/gp106/flcn_gp106.c +++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -22,6 +22,7 @@ | |||
22 | #include "gk20a/gk20a.h" | 22 | #include "gk20a/gk20a.h" |
23 | #include "gk20a/flcn_gk20a.h" | 23 | #include "gk20a/flcn_gk20a.h" |
24 | #include "gp106/sec2_gp106.h" | 24 | #include "gp106/sec2_gp106.h" |
25 | #include "gp106/flcn_gp106.h" | ||
25 | 26 | ||
26 | #include <nvgpu/hw/gp106/hw_falcon_gp106.h> | 27 | #include <nvgpu/hw/gp106/hw_falcon_gp106.h> |
27 | 28 | ||