mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Revert "gpu: nvgpu: allocate only active runlists"
This reverts commit 45fa0441f7.
Bug 2522374
Change-Id: Icb80b7a31c7588a269850a3768ab0238dbec67b1
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2030292
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Hoang Pham <hopham@nvidia.com>
This commit is contained in:
committed by
Hoang Pham
parent
b75ff25b5e
commit
f67bc51e51
@@ -75,7 +75,6 @@ struct tsg_gk20a;
|
||||
/* generally corresponds to the "pbdma" engine */
|
||||
|
||||
struct fifo_runlist_info_gk20a {
|
||||
u32 runlist_id;
|
||||
unsigned long *active_channels;
|
||||
unsigned long *active_tsgs;
|
||||
/* Each engine has its own SW and HW runlist buffer.*/
|
||||
@@ -150,16 +149,8 @@ struct fifo_gk20a {
|
||||
u32 num_engines;
|
||||
u32 *active_engines_list;
|
||||
|
||||
/* Pointers to runlists, indexed by real hw runlist_id.
|
||||
* If a runlist is active, then runlist_info[runlist_id] points
|
||||
* to one entry in active_runlist_info. Otherwise, it is NULL.
|
||||
*/
|
||||
struct fifo_runlist_info_gk20a **runlist_info;
|
||||
u32 max_runlists;
|
||||
|
||||
/* Array of runlists that are actually in use */
|
||||
struct fifo_runlist_info_gk20a *active_runlist_info;
|
||||
u32 num_runlists; /* number of active runlists */
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct {
|
||||
struct fifo_profile_gk20a *data;
|
||||
|
||||
Reference in New Issue
Block a user