Shridhar Rasal aaf11d61f1 video: tegra: host: nvdla: set EMC rate on device open
Currently,
 - On device node close, nvhost ACM updates clock rate
   to default rate.
 - DLA default rate is set to UINT_MAX.
 - These causes max rate requests from DLA on device node close.

Fix,
 - Set default rate for DLA as zero. On device node close, aggregrate
   requests capped.
 - On device node open, keep EMC requests to max.
   so DLA inference doesn't impact for perf.

Bug 2769574

Change-Id: Icdaa8943ee143a5fa8c7310db9b7fac636c5be50
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Signed-off-by: nmalwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2255718
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-14 11:46:41 +00:00
2022-09-10 23:43:40 -07:00
2022-12-07 23:57:14 -08:00
2023-04-07 00:12:26 -07:00
Description
No description provided
34 MiB