Files
linux-nvgpu/arch/nvgpu.yaml
Aparna Das 21c7a00f18 gpu: nvgpu: vgpu: create hal vgpu unit
File vgpu_fifo_gv11b.c contained syncpoint related implementation
specific to gv11b. Move the implementations to a new file in
hal directory for vgpu hal/vgpu/sync/syncpt_cmdbuf_gv11b_vgpu.c.
Also move function vgpu_gv11b_init_fifo_setup_hw() to a new
file in hal directory for vgpu hal/vgpu/fifo/fifo_gv11b_vgpu.c.

Add a new yaml file nvgpu-hal-vgpu.yaml that contains vgpu
specific hal files. Update arch yaml to reflect the above changes.

Jira GVSCI-994

Change-Id: Ie33614473d5fd3fcd624c70709b109c4e45725ef
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2138390
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-06-21 18:45:09 -07:00

69 lines
1.7 KiB
YAML

# Copyright (c) 2019, 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: yes
children:
!include nvgpu-common.yaml
# HAL units - Hardware Abstraction Layer.
hal:
children:
!include nvgpu-hal-new.yaml
# The QNX OS layer implementation units. TODO: place in QNX directory.
# 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