diff options
author | vdumpa <vdumpa@nvidia.com> | 2010-02-12 12:44:40 -0800 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-02-12 18:10:57 -0800 |
commit | e61d2802714a27bd39bf96d912ff1b172e9f5771 (patch) | |
tree | 2d84639c6ae41dc7adc398fd2975444dc4e90456 /drivers | |
parent | 82ba81e47a1b1ea0457f67e7845b08ccbb1a9f41 (diff) |
tegra nvrm: fixing the performance regressions with video decoders/encoders.
Bug 650789
Bug 650790
The performance drop was because of moving RM transport into kernel.
After moving it into kernel, for every transport API call, there is
an additional overhead of allocating and freeing memory. This is causing
the performance drop. As the message buffer's max size is 256 bytes,
This performance issue is fixed by using buffer allocated on stock instead
of NvOsAlloc buffer.
Also removed unnecessary nvrm_rpc.h file.
Updated code to allocate memory from heap, if the message size is bigger
than stack buffer.
Change-Id: I9ec01a2bf4a97623446424a6b6abddb869e6f7a6
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions