mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +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. Use an array of pointers to runlists in fifo_gk20a. The array keeps existing indexing by runlist_id. In this patch a context is still allocated for each possible runlist, but follow up patch will allow to skip context allocation for inactive runlists. Bug 2470115 Change-Id: I1615043cea84db35a270ade64695d51f85c1193a Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2025203 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>