diff options
author | Victor(Weiguo) Pan <wpan@nvidia.com> | 2010-09-07 16:52:10 -0700 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2010-09-21 22:19:38 -0700 |
commit | ae81447a26b98ef94f03db094ad8c77f719b35a9 (patch) | |
tree | dc334cf78a13e576295a61efc445a76480bf42d8 /arch/arm/mach-tegra/include | |
parent | 3dab0e0518e951e62ebcdceb9f170f304cb9d9b5 (diff) |
[ARM/Tegra] nvrm : Clean up user mode DMA handles
Nvrm exposes nvrm DMA APIs to allocate and use the DMA channel
from user mode. I2S (i.e audio HAL) is the main user of these
APIs. When the process that allocates the handles doesn't free-up
and crashes, RM reftracker driver will clean up the handles its
on-behalf. Same mechanism already exists for the mmeory handles.
bug 730003
Change-Id: Iceb5c3b6d22989463d184c90e25ab06f6979b5a4
Reviewed-on: http://git-master.nvidia.com/r/7013
Tested-by: Victor (Weiguo) Pan <wpan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/nvreftrack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/nvreftrack.h b/arch/arm/mach-tegra/include/nvreftrack.h index 1a5b9c7debc2..69dfdeb1f638 100644 --- a/arch/arm/mach-tegra/include/nvreftrack.h +++ b/arch/arm/mach-tegra/include/nvreftrack.h @@ -98,6 +98,7 @@ typedef enum { NvRtObjType_NvRm_NvRmMemHandle = 0, + NvRtObjType_NvRm_NvRmDmaHandle, NvRtObjType_NvRm_Num, NvRtObjType_NvRm_ForceWord = 0x7FFFFFFF } NvRtObjType_NvRm; |