mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Move gr_init_prepare to separate gr unit test Use of global register spaces between two different gr unit tests corrupt the memory in multi thread support. Add support for local register spaces with pre initialized register values for each gr unit test. Jira NVGPU-3582 Change-Id: I4e47c1ca4f312335cd33a73a377f9fa9f12ccd5f Signed-off-by: vinodg <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2189502 GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
36 lines
1.5 KiB
Makefile
36 lines
1.5 KiB
Makefile
################################### tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# 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.
|
|
#
|
|
# tmake for SW Mobile component makefile
|
|
#
|
|
###############################################################################
|
|
|
|
NVGPU_UNIT_NAME=nvgpu-gr-init
|
|
|
|
include $(NV_COMPONENT_DIR)/../../Makefile.units.common.interface.tmk
|
|
|
|
# Local Variables:
|
|
# indent-tabs-mode: t
|
|
# tab-width: 8
|
|
# End:
|
|
# vi: set tabstop=8 noexpandtab:
|