dce: update for mods test

DCE FW will run the dma test using 512 bytes of transfer
between dram and tcm for 400 iterations and alu test
generating 100 prime numbers for 200 iterations.
DCE running above 600Mhz will take nearly 50msec
for each test.

Jira TDS-16211

Change-Id: I34570acd4db6b8103bd2451833b280dc8e32131a
Signed-off-by: vinodg <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3192552
Reviewed-by: Mahesh Kumar <mahkumar@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
vinodg
2024-08-12 17:16:32 +00:00
committed by mobile promotions
parent ff7c18fc0b
commit d7a9c5b734
2 changed files with 31 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (c) 2018-2023 NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2018-2024 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"),
@@ -96,12 +96,10 @@ struct dce_admin_echo {
uint32_t data;
};
enum dce_admin_ext_test {
DCE_ADMIN_EXT_TEST_ALU = 0U,
DCE_ADMIN_EXT_TEST_DMA = 1U,
};
#define DCE_ADMIN_EXT_TEST_ALU 0U
#define DCE_ADMIN_EXT_TEST_DMA 1U
struct dce_admin_ext_test_args {
enum dce_admin_ext_test test;
uint32_t test_cmd;
};
struct dce_admin_log_args {