mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
When a user-domain gets removed, tsg belongs to this also gets removed and runlist update happens accordingly. If same tsg was submitted to gpu then updated runlist also needs to re-submit. This works fine with the existing legacy cases but if GPU is running the shadow domain submitted by manual mode scheduler and domain belongs to this gets removed then updated runlist is not being submitted to GPU. This runlist buffer inconsistency causes mmu fault later. This change adds a "remove" field in the runlist domain which gets set to true when runlist update happens for the channel removal. Later worker thread submit the updated runlist if this flag set to true. Bug 3884011 Change-Id: I3ce08a5a281e20661915746e70ac0dcd711f3f38 Signed-off-by: prsethi <prsethi@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2838808 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>