Commit Graph

4 Commits

Author SHA1 Message Date
Alex Waterman
bc0d8a65c1 Revert "gpu: nvgpu: Protect against possible userspace build failures"
This reverts commit 57e6105aa1.

When this is reverted the userspace build will be active in GVS! This
will save much work in fixing periodic compilation issues that get
added to the userspace build by accident.

JIRA NVGPU-525

Change-Id: Ifc33b6694c97b743a7461c1ce9efb1bc60bd1771
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1757491
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2018-06-25 12:04:42 -07:00
Alex Waterman
57e6105aa1 gpu: nvgpu: Protect against possible userspace build failures
When the dev-other change to make:

  $ tmmp

Actually do something in the nvgpu repo hits dev-kernel there will
be risk of build failure. As such prevent the makefile.tmk present
in nvgpu from doing anything.

Then this build can be verified on dev-kernel with GVS (by reverting
this change) and we can ensure that no build failures are
introduced to dev-kernel.

Change-Id: I8c6fe056e12753b099927af9f0f417754edf1c1b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1740850
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
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>
2018-06-14 06:44:07 -07:00
Alex Waterman
a3a9ed3b12 gpu: nvgpu: posix: Don't do the POSIX build on integrity
For now interity needs a lot of work. It may make sense to come
back to this in the future though.

JIRA NVGPU-525

Change-Id: Ib533d7a85f105d17debe8a17431f06dc348534a9
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1727382
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
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>
2018-05-25 15:15:44 -07:00
Alex Waterman
6e739d924f 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>
2018-05-07 04:41:26 -07:00