summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShivananda Hebbar <x0hebbar@ti.com>2012-02-02 15:19:53 -0600
committerDan Murphy <dmurphy@ti.com>2012-02-15 07:50:18 -0600
commitb0e4da2a2860fda999ea9cbb5bd1ca33a04f8064 (patch)
tree0743a8d99ea96fa48c167763a3f0fc75ef481ad3
parentbac2bf6432eed3989aa1c99aee6d354cc65ad0c6 (diff)
downloadomap-omapzoom-p-android-omap-3.0-BETA.tar.gz
OMAP: TILER: Kconfig: Disable tiler ioctl interfacep-android-omap-3.0-BETA
TILER provided an interface to userspace through a character driver /dev/tiler, and through a MemMgr API in the userspace. This TILER ioctl interface is currently deprecated. The kernel config options have been changed accordingly to avoid any misuse. Change-Id: Ia69f4f6161e6f4d5fb45ef12aaac5976e0bdd53d Signed-off-by: Shivananda Hebbar <x0hebbar@ti.com> Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r--drivers/media/video/tiler/Kconfig32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/media/video/tiler/Kconfig b/drivers/media/video/tiler/Kconfig
index 202f7f8d104f..758f882c5a26 100644
--- a/drivers/media/video/tiler/Kconfig
+++ b/drivers/media/video/tiler/Kconfig
@@ -97,21 +97,8 @@ config TILER_SECURE
If set, process security will be hardwired and ssptr and offset
lookup APIs are removed.
-config TILER_EXPOSE_SSPTR
- bool "Expose SSPtr to userspace"
- default y
- depends on TI_TILER
- help
- This option sets whether SSPtr-s for blocks are exposed
- during TILIOC_GBLK ioctls (MemMgr_Alloc APIs). In a secure
- TILER build, this may be the only way for the userspace code
- to learn the system-space addresses of TILER blocks.
-
- You can use this flag to see if the userspace is relying on
- having access to the SSPtr.
-
config TILER_ENABLE_NV12
- bool "Enable NV12 support"
+ bool "Enable NV12 support (deprecated)"
default y
depends on TI_TILER
help
@@ -121,9 +108,22 @@ config TILER_ENABLE_NV12
will be enabled.
config TILER_ENABLE_USERSPACE
- bool "Enable userspace API"
- default y
+ bool "Enable userspace API (deprecated)"
+ default n
depends on TI_TILER
help
This option enabled the userspace API. If set, an ioctl interface
will be available to users.
+
+config TILER_EXPOSE_SSPTR
+ bool "Expose SSPtr to userspace (deprecated)"
+ default y
+ depends on TILER_ENABLE_USERSPACE
+ help
+ This option sets whether SSPtr-s for blocks are exposed
+ during TILIOC_GBLK ioctls (MemMgr_Alloc APIs). In a secure
+ TILER build, this may be the only way for the userspace code
+ to learn the system-space addresses of TILER blocks.
+
+ You can use this flag to see if the userspace is relying on
+ having access to the SSPtr.