mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Add ce_lce control register
This is adding the following register and respective fields NV_CE_LCE_ENGCTL NV_CE_LCE_ENGCTL_STALLREQ_TRUE NV_CE_LCE_ENGCTL_STALLACK_TRUE Bug 200641946 Change-Id: I975fde996de693137322ca013f1ca5e170f7439a Signed-off-by: Dinesh T <dt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2678059 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
8381647662
commit
f6fd0af5ed
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2020-2022, 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"),
|
||||
@@ -75,4 +75,8 @@
|
||||
#define ce_lce_opt_r(i)\
|
||||
(nvgpu_safe_add_u32(0x00104414U, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_opt_force_barriers_npl__prod_f() (0x8U)
|
||||
#define ce_lce_engctl_r(i)\
|
||||
(nvgpu_safe_add_u32(0x0010441cU, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_engctl_stallreq_true_f() (0x100U)
|
||||
#define ce_lce_engctl_stallack_true_f() (0x200U)
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2019-2022, 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"),
|
||||
@@ -108,4 +108,8 @@
|
||||
#define ce_lce_intr_ctrl_cpu_m() (U32(0x1U) << 31U)
|
||||
#define ce_lce_intr_ctrl_cpu_enable_f() (0x80000000U)
|
||||
#define ce_lce_intr_ctrl_cpu_disable_f() (0x0U)
|
||||
#define ce_lce_engctl_r(i)\
|
||||
(nvgpu_safe_add_u32(0x0010441cU, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_engctl_stallreq_true_f() (0x100U)
|
||||
#define ce_lce_engctl_stallack_true_f() (0x200U)
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2022, 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"),
|
||||
@@ -75,4 +75,8 @@
|
||||
#define ce_lce_opt_r(i)\
|
||||
(nvgpu_safe_add_u32(0x00104414U, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_opt_force_barriers_npl__prod_f() (0x8U)
|
||||
#define ce_lce_engctl_r(i)\
|
||||
(nvgpu_safe_add_u32(0x0010441cU, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_engctl_stallreq_true_f() (0x100U)
|
||||
#define ce_lce_engctl_stallack_true_f() (0x200U)
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2022, 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"),
|
||||
@@ -75,6 +75,10 @@
|
||||
#define ce_lce_opt_r(i)\
|
||||
(nvgpu_safe_add_u32(0x00104414U, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_opt_force_barriers_npl__prod_f() (0x8U)
|
||||
#define ce_lce_engctl_r(i)\
|
||||
(nvgpu_safe_add_u32(0x0010441cU, nvgpu_safe_mult_u32((i), 128U)))
|
||||
#define ce_lce_engctl_stallreq_true_f() (0x100U)
|
||||
#define ce_lce_engctl_stallack_true_f() (0x200U)
|
||||
#define ce_grce_config_r(i)\
|
||||
(nvgpu_safe_add_u32(0x00104034U, nvgpu_safe_mult_u32((i), 4U)))
|
||||
#define ce_grce_config__size_1_v() (0x00000002U)
|
||||
|
||||
Reference in New Issue
Block a user