mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
3a1e6b396ba97a25e01ecd8ffd932e4f0276608f
- nvhost_queue_task_pool_alloc() also allocates kcalloc based memory. Use this memory to keep kernel copy of task and get this memory assigned during task submission. Release memory during task cleanup along with dma alloc. - Memory pool free'd while freeing queue on device close. - Using preallocated memory should help to improve performance of job submission. - memset for dma and kernel memory done from queue common code, so removing memset for task descriptor memory. - Fix releasing queue refcnt and release it after free task memory. DLA-271 Change-Id: I711b3181e742c05e934f1c621b3dc6e5cf94b67c Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/1285892 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided