Files
linux-nvgpu/arch/nvgpu.yaml
Sagar Kadamati dd9b4364aa gpu: nvgpu: add nvgpu-next infrastructure
* As of now, working on multiple chip bringup in nvgpu-next repo has
   an issue because we end with losing control on source code (hard to
   find which part of the code belongs to which chip) and it's valuable
   history this affects chip migration on release.

 * To support multiple chip bringup simultaneously, we need new
   guidelines to avoid losing control on source code and make migration
   easier. This change adds links to nvgpu-next repo.

 * Updated return code to ENODEV for consistency
 * Updated ACR unittest to work with ENODEV return code

NOTE:
     These are the initial set of infrastructure changes, guidelines
     will evolve, and source code will get updated accordingly.

     Based on future chip features, Which part of the source code falls
     under nvgpu-next repo is decided.

JIRA NVGPU-6574

Change-Id: I81827e35d189c55554df00e255b527a4473e0338
Signed-off-by: Sagar Kadamati <skadamati@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2556793
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2021-09-08 06:50:38 -07:00

75 lines
1.7 KiB
YAML

# Copyright (c) 2019-2021, NVIDIA CORPORATION. All Rights Reserved.
#
# Top level NVGPU architecure description in YAML.
#
# The format of this document is structured by element and unit. Though only
# units may have source files associated with them. All units must exist in an
# element.
#
nvgpu:
safe: no
children:
# The common code element. This has gr, mm, etc.
common:
safe: no
children:
!include nvgpu-common.yaml
# HAL units - Hardware Abstraction Layer.
hal:
safe: no
children:
!include nvgpu-hal-new.yaml
# The QNX OS layer implementation units.
qnx:
safe: yes
children:
!include nvgpu-qnx.yaml
# And the Linux version of the OS implementation units.
linux:
safe: no
children:
!include nvgpu-linux.yaml
# POSIX units for implementing the OS layer for unit testing.
posix:
children:
!include nvgpu-posix.yaml
# Inteface units - these provide interfaces for NVGPU to the underlying
# OS or CPU.
interface:
safe: yes
owner: Alex W
children:
!include nvgpu-interface.yaml
# Virtualization code.
vgpu:
safe: yes
children:
!include nvgpu-vgpu.yaml
# Virtualization HAL code.
hal-vgpu:
safe: yes
children:
!include nvgpu-hal-vgpu.yaml
# A meta-element for the GPU HW. A good example of this is the HW headers.
# This is not code we write in nvgpu, but we import it from the GPU HW
# tree (with a little tranformation - the gen reg scrip).
gpu_hw:
safe: no
children:
!include nvgpu-gpu_hw.yaml
nvgpu_next:
safe: no
children:
!include nvgpu-next.yaml