Files
linux-nv-oot/drivers/video
Arvind M c5b179e99d nvdla: kmd: synchronize access to task pool memory
[1] In the absence of synchronization to access task pool, submission may
    happen at faster rate than cleanups. This shall lead to frequent
    out-of-memory error.
[2] This commit fixes the issues through retries before throwing OOM.
    a. Sets up a communication between cleanup & submit.
    b. Retries for allocating task memory
        - Retry period:   1 ms
        - Total timeout: 10 ms

Bug 200680501

Change-Id: Iea25fbe6e7891938f6318285d4824bc1c54ddb05
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2518193
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-14 11:46:41 +00:00
..