mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: move active bitmaps to domain
Move the active_channels and active_tsgs bitmaps from struct nvgpu_runlist to struct nvgpu_runlist_domain. A TSG and its channels are currently active as part of a runlist; in the future, a runlist may be switched from multiple domains that each are a collection of TSGs. The changes are still internal to the runlist code. Users of runlists need no modifications. Jira NVGPU-6425 Change-Id: I2d0e98e97f04b9716bc3f4890cf881735d0ab664 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2618387 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1d23b8f13a
commit
3cf796b787
@@ -80,7 +80,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (!test_bit(ch->chid, runlist->active_channels))
|
||||
if (!test_bit(ch->chid, runlist->domain->active_channels))
|
||||
return ret;
|
||||
|
||||
if (nvgpu_channel_get(ch)) {
|
||||
|
||||
Reference in New Issue
Block a user