mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
16 lines
454 B
Makefile
16 lines
454 B
Makefile
#
|
|
# Define various configs such as VIDMEM, etc. This is a bit annoying since
|
|
# this really should be specific to Linux, but many header files need to
|
|
# be aware of the CONFIG_* defines. As such we replicate some of the configs
|
|
# that we potientially will want enabled in testing.
|
|
#
|
|
|
|
configs :=
|
|
|
|
# Enabled configs.
|
|
# None right now!
|
|
|
|
# Uncomment these to enable the config.
|
|
# configs += -DCONFIG_NVGPU_TRACK_MEM_USAGE=y
|
|
# configs += -DCONFIG_GK20A_VIDMEM
|