gpu: nvgpu: add nvgpu-next sim function prototypes

Add nvgpu-next sim function prototypes. This resolves qnx and userspace
build errors.

JIRA NVGPU-5363

Change-Id: I7b20917ec73b2ca3a1514872620266bb7a54097c
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2369657
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2020-07-01 12:06:03 -07:00
committed by Alex Waterman
parent d0087f3ad8
commit e8f2e3d514

View File

@@ -26,6 +26,11 @@
#include <nvgpu/nvgpu_mem.h>
#include <nvgpu/gk20a.h>
/** @cond DOXYGEN_SHOULD_SKIP_THIS */
#if defined(CONFIG_NVGPU_NON_FUSA) && defined(CONFIG_NVGPU_NEXT)
#include <nvgpu/nvgpu_next_sim.h>
#endif
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
struct sim_nvgpu {
struct gk20a *g;