summaryrefslogtreecommitdiffstats
path: root/userspace/Makefile.configs
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-01-22 19:30:53 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-07 07:41:26 -0400
commit6e739d924fe9b778fa82396e0e941143f498acb8 (patch)
treef112ede8573c2f8bf76e0bdaadf33c6c71343820 /userspace/Makefile.configs
parente6b3bb4e6b3d4013f83ba6d31c780947f16cf410 (diff)
gpu: nvgpu: Userspace POSIX support
Add support for compiling nvgpu in a POSIX compliant userspace. This code adds all of the necessary abstraction interfaces (mostly stubbed) to enabled extremely limited and basic functionality in nvgpu. The goal of this code is to facilitate unit testing of the nvgpu common core. By doing this in userspace it is much easier to write tests that rely on very particular states within nvgpu since a user can very precisely control the state of nvgpu. JIRA NVGPU-525 Change-Id: I30e95016df14997d951075777e0585f912dc5960 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1683914 GVS: Gerrit_Virtual_Submit Reviewed-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 'userspace/Makefile.configs')
-rw-r--r--userspace/Makefile.configs15
1 files changed, 15 insertions, 0 deletions
diff --git a/userspace/Makefile.configs b/userspace/Makefile.configs
new file mode 100644
index 00000000..d7e807af
--- /dev/null
+++ b/userspace/Makefile.configs
@@ -0,0 +1,15 @@
1#
2# Define various configs such as VIDMEM, etc. This is a bit annoying since
3# this really should be specific to Linux, but many header files need to
4# be aware of the CONFIG_* defines. As such we replicate some of the configs
5# that we potientially will want enabled in testing.
6#
7
8configs :=
9
10# Enabled configs.
11# None right now!
12
13# Uncomment these to enable the config.
14# configs += -DCONFIG_NVGPU_TRACK_MEM_USAGE=y
15# configs += -DCONFIG_GK20A_VIDMEM