mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Currently a fifo_runlist_info_gk20a structure is allocated and initialized for each possible runlist. But only a few runlists are actually used. Skip allocation and initialization of inactive runlists. Active runlists info is stored in the active_runlist_info array. If a runlist is active, then runlist_info[runlist_id] points to one entry in active_runlist_info. Otherwise, runlist_info[runlist_id] is NULL. Operations that used to walk through all runlists are modified to walk though active runlists only. Bug 2470115 Change-Id: Icd10281dc904bdee581ebc9cfeb662018ecca121 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2025385 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>