mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 18:42:29 +03:00
Add tests to cover common.gr.setup subunit. This includes g->ops.gr.setup.alloc_obj_ctx g->ops.gr.setup.set_preemption_mode g->ops.gr.setup.free_gr_ctx and g->ops.gr.setup.free_subctx. Update register space to include the registers used by context creation. Update SWUT files for doxygen. Jira NVGPU-3968 Change-Id: I3ab539d18584231142a1945d621d015b7ca772de Signed-off-by: vinodg <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2244825 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
34 lines
1.3 KiB
Makefile
34 lines
1.3 KiB
Makefile
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
# copy of this software and associated documentation files (the "Software"),
|
|
# to deal in the Software without restriction, including without limitation
|
|
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
# and/or sell copies of the Software, and to permit persons to whom the
|
|
# Software is furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
# DEALINGS IN THE SOFTWARE.
|
|
|
|
.SUFFIXES:
|
|
|
|
OBJS = nvgpu-gr-setup.o
|
|
MODULE = nvgpu-gr-setup
|
|
|
|
LIB_PATHS += -lnvgpu-gr
|
|
include ../../Makefile.units
|
|
|
|
lib$(MODULE).so: nvgpu-gr
|
|
|
|
nvgpu-gr:
|
|
$(MAKE) -C ..
|
|
|