mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: unit: add gr_prepare tests
Add support gr_prepare for sw and hw. Add needed registers using nvgpu_posix_io_add_reg_space calls. Add unit tests covering following functions nvgpu_gr_prepare_sw nvgpu_gr_enable_hw Copy the falcon ucode binaries under userspace/firmware directory install-unit.sh modified to copy the firmware binaries under nvgpu-unnit/firmware directory Jira NVGPU-3582 Change-Id: If2131d2c48e828251208da86688b0594e62de82e Signed-off-by: vinodg <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2184293 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -103,6 +103,7 @@ fi
|
||||
# Building the necessary directory structure. It may not be present
|
||||
# first time this is run.
|
||||
ssh $target mkdir -p nvgpu_unit/units
|
||||
ssh $target mkdir -p nvgpu_unit/firmware
|
||||
ssh $target mkdir -p $TOP/kernel
|
||||
if [ $? != 0 ]; then
|
||||
echo
|
||||
@@ -121,6 +122,7 @@ jcp $TOP/kernel/nvgpu/userspace/gcov.sh nvgpu_unit/gcov.sh
|
||||
jcp $TOP/kernel/nvgpu/userspace/testlist.py nvgpu_unit/testlist.py
|
||||
jcp $TOP/kernel/nvgpu/userspace/required_tests.json \
|
||||
nvgpu_unit/required_tests.json
|
||||
jcp $TOP/kernel/nvgpu/userspace/firmware/ nvgpu_unit/firmware/
|
||||
|
||||
find $nvgpu_bins/userspace/units -name "*.so" -not -path "*unit.so" \
|
||||
-not -path "*drv.so" -exec ls {} \; | while read unit_so ; do
|
||||
|
||||
Reference in New Issue
Block a user