diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2018-09-24 07:21:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-25 16:10:19 -0400 |
commit | 7e1dbd8303f40292cd406671a835764b16153e99 (patch) | |
tree | b5f9fb9f1961fbfccbf2380b6fbf1b2ebce8bdf3 /drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c | |
parent | 810d9c57116065d163ee371cfec3e3f3319523f1 (diff) |
gpu: nvgpu: move header location of gk20a.h
1) Update header path of gk20a.h files present in os/
to <nvgpu/gk20a.h>
2) os_fence_android_sema.c indirectly was dependent on gk20a.h via
semaphore.h. So, added #include <nvgpu/gk20a.h> in
os_fence_android_sema.c and replaced the header with forward
declaration of struct gk20a in semaphore.h
Jira NVGPU-597
Change-Id: I96e23befeb80713f3a399071eb5498f6f580211d
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1842868
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c index ec93b4c3..41cba0f0 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/clk.h> | 25 | #include <linux/clk.h> |
26 | #include <linux/platform/tegra/emc_bwmgr.h> | 26 | #include <linux/platform/tegra/emc_bwmgr.h> |
27 | 27 | ||
28 | #include <nvgpu/gk20a.h> | ||
28 | #include <nvgpu/nvhost.h> | 29 | #include <nvgpu/nvhost.h> |
29 | 30 | ||
30 | #include <uapi/linux/nvgpu.h> | 31 | #include <uapi/linux/nvgpu.h> |
@@ -32,7 +33,6 @@ | |||
32 | #include <soc/tegra/tegra_bpmp.h> | 33 | #include <soc/tegra/tegra_bpmp.h> |
33 | #include <soc/tegra/tegra_powergate.h> | 34 | #include <soc/tegra/tegra_powergate.h> |
34 | 35 | ||
35 | #include "gk20a/gk20a.h" | ||
36 | #include "platform_gk20a.h" | 36 | #include "platform_gk20a.h" |
37 | #include "clk.h" | 37 | #include "clk.h" |
38 | #include "scale.h" | 38 | #include "scale.h" |