nvgpu: Fixes for QNX build structure changes

Minor updates in the path to header files.

Change-Id: I6fe1db8f050d9b168a1662f0cb65e15bc13c2195
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2810665
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sagar Kadamati <skadamati@nvidia.com>
Reviewed-by: Tejal Kudav <tkudav@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Alex Waterman
2022-11-17 00:36:38 +00:00
committed by mobile promotions
parent 2c8cfde803
commit a9e21b487a
6 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,7 @@
#elif defined(NVGPU_HVRTOS) #elif defined(NVGPU_HVRTOS)
#include <nvgpu_hvrtos/barrier.h> #include <nvgpu_hvrtos/barrier.h>
#else #else
#include <nvgpu_rmos/include/barrier.h> #include <nvgpu/qnx/barrier.h>
#endif #endif
#define nvgpu_mb() nvgpu_mb_impl() #define nvgpu_mb() nvgpu_mb_impl()

View File

@@ -30,7 +30,7 @@
#elif defined(NVGPU_HVRTOS) #elif defined(NVGPU_HVRTOS)
#include <nvgpu_hvrtos/log.h> #include <nvgpu_hvrtos/log.h>
#else #else
#include <nvgpu_rmos/include/log.h> #include <nvgpu/qnx/log.h>
#endif #endif
#ifdef CONFIG_NVGPU_NON_FUSA #ifdef CONFIG_NVGPU_NON_FUSA

View File

@@ -35,7 +35,7 @@
#elif defined(NVGPU_HVRTOS) #elif defined(NVGPU_HVRTOS)
#include <nvgpu_hvrtos/nvgpu_mem.h> #include <nvgpu_hvrtos/nvgpu_mem.h>
#else #else
#include <nvgpu_rmos/include/nvgpu_mem.h> #include <nvgpu/qnx/nvgpu_mem.h>
#endif #endif
/** /**

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -28,7 +28,7 @@
#elif defined(__NVGPU_POSIX__) #elif defined(__NVGPU_POSIX__)
#include <nvgpu/posix/pci.h> #include <nvgpu/posix/pci.h>
#elif defined(__QNX__) #elif defined(__QNX__)
#include <nvgpu_rmos/include/pci.h> #include <nvgpu/qnx/pci.h>
#else #else
/* /*
* In case someone tries to use this without implementing support! * In case someone tries to use this without implementing support!

View File

@@ -59,8 +59,8 @@ struct sim_nvgpu {
#elif defined(__NVGPU_POSIX__) || defined(NVGPU_HVRTOS) #elif defined(__NVGPU_POSIX__) || defined(NVGPU_HVRTOS)
/* Nothing for POSIX-nvgpu and nvgpu_hvrtos. */ /* Nothing for POSIX-nvgpu and nvgpu_hvrtos. */
#else #else
#include <nvgpu_rmos/include/sim.h> #include <nvgpu/qnx/sim.h>
#include <nvgpu_rmos/include/sim_pci.h> #include <nvgpu/qnx/sim_pci.h>
#endif #endif
int nvgpu_init_sim_support(struct gk20a *g); int nvgpu_init_sim_support(struct gk20a *g);
int nvgpu_init_sim_support_pci(struct gk20a *g); int nvgpu_init_sim_support_pci(struct gk20a *g);

View File

@@ -96,7 +96,7 @@ struct nvgpu_os_buffer;
#include <nvgpu_hvrtos/vm.h> #include <nvgpu_hvrtos/vm.h>
#else #else
/* QNX include goes here. */ /* QNX include goes here. */
#include <nvgpu_rmos/include/vm.h> #include <nvgpu/qnx/vm.h>
#endif #endif
#define NVGPU_VM_NAME_LEN 32U #define NVGPU_VM_NAME_LEN 32U