mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: unit: enable pbdma tests on target
Add missing pbdma, runlist and channel files to tmake makefile and fix compilation issues. Update exports to fix link issues. Update required tests in JSON file. Jira NVGPU-3490 Change-Id: Ib5f7dd15ebbd81c5f5f304f8c22ea8299c469a93 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2247248 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
b5acb44f2f
commit
0ba37ecf4d
@@ -64,8 +64,6 @@ int test_gm20b_channel_bind(struct unit_module *m,
|
||||
struct nvgpu_channel *ch;
|
||||
int ret = UNIT_FAIL;
|
||||
|
||||
assert(g->ops.channel.bind == gm20b_channel_bind);
|
||||
|
||||
ch = nvgpu_channel_open_new(g, runlist_id,
|
||||
privileged, getpid(), getpid());
|
||||
assert(ch);
|
||||
|
||||
@@ -24,4 +24,5 @@ test_fifo_init_support
|
||||
test_fifo_remove_support
|
||||
test_fifo_subtest_pruned
|
||||
test_fifo_flags_str
|
||||
test_fifo_setup_gv11b_reg_space
|
||||
|
||||
|
||||
@@ -102,13 +102,13 @@ int test_pbdma_setup_sw(struct unit_module *m,
|
||||
u32 prune = fail;
|
||||
int err;
|
||||
|
||||
kmem_fi = nvgpu_kmem_get_fault_injection();
|
||||
|
||||
err = test_fifo_setup_gv11b_reg_space(m, g);
|
||||
assert(err == 0);
|
||||
|
||||
gv11b_init_hal(g);
|
||||
|
||||
kmem_fi = nvgpu_kmem_get_fault_injection();
|
||||
|
||||
for (branches = 0U; branches < F_PBDMA_SETUP_SW_LAST; branches++) {
|
||||
|
||||
if (pruned(branches, prune)) {
|
||||
|
||||
Reference in New Issue
Block a user