summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVandana Salve <vsalve@nvidia.com>2012-05-25 19:04:06 +0530
committerLokesh Pathak <lpathak@nvidia.com>2012-07-30 08:36:41 -0700
commit8055acfa05c82997bdcfbce5093b9cd963251d2a (patch)
tree27e94b4175a062dae7ff5d7dee1688f02ed999c6 /include
parent1811650b54e3d988dfd6dc9ecb8c7d0e4986d8a1 (diff)
media: video: nvavp: Add bsea/vcp clocks for Audio
1) Enable bsea/vcp clocks for Audio support by ioctl 2) Send kernel event NVE276_OS_INTERRUPT_APP_NOTIFY to user space 3) Suspend Resume support bug 964514 Change-Id: I72fb790baa093b4bcd99a128c886dc049fa0fbb6 Signed-off-by: Vandana Salve <vsalve@nvidia.com> Reviewed-on: http://git-master/r/108493 cherry picked from commit 4432c5fa5e9072ff019d994f3bc8239bd34ddad1 Reviewed-on: http://git-master/r/114589 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_nvavp.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/tegra_nvavp.h b/include/linux/tegra_nvavp.h
index 6774d0eaa7ef..250eee379de9 100644
--- a/include/linux/tegra_nvavp.h
+++ b/include/linux/tegra_nvavp.h
@@ -1,7 +1,7 @@
/*
* include/linux/tegra_nvavp.h
*
- * Copyright (C) 2011 NVIDIA Corp.
+ * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
@@ -89,8 +89,12 @@ struct nvavp_clock_stay_on_state_args {
__u32)
#define NVAVP_IOCTL_FORCE_CLOCK_STAY_ON _IOW(NVAVP_IOCTL_MAGIC, 0x67, \
struct nvavp_clock_stay_on_state_args)
+#define NVAVP_IOCTL_ENABLE_AUDIO_CLOCKS _IOWR(NVAVP_IOCTL_MAGIC, 0x68, \
+ struct nvavp_clock_args)
+#define NVAVP_IOCTL_DISABLE_AUDIO_CLOCKS _IOWR(NVAVP_IOCTL_MAGIC, 0x69, \
+ struct nvavp_clock_args)
#define NVAVP_IOCTL_MIN_NR _IOC_NR(NVAVP_IOCTL_SET_NVMAP_FD)
-#define NVAVP_IOCTL_MAX_NR _IOC_NR(NVAVP_IOCTL_FORCE_CLOCK_STAY_ON)
+#define NVAVP_IOCTL_MAX_NR _IOC_NR(NVAVP_IOCTL_DISABLE_AUDIO_CLOCKS)
#endif /* __LINUX_TEGRA_NVAVP_H */