]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: android: ion: Remove ion_handle and ion_client
authorLaura Abbott <labbott@redhat.com>
Tue, 18 Apr 2017 18:27:12 +0000 (11:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 18:43:14 +0000 (20:43 +0200)
commit15c6098cfec543687164a05faeb859f8e4f7480b
treea9cbb74558562c1ed64cbf631e9ad89dd85ef7fe
parente3b914bc7eb6bcecc5b597ee6e31fc40442c291f
staging: android: ion: Remove ion_handle and ion_client

ion_handle was introduced as an abstraction to represent a reference to
a buffer via an ion_client. As frameworks outside of Ion evolved, the dmabuf
emerged as the preferred standard for use in the kernel. This has made
the ion_handle an unnecessary abstraction and prone to race
conditions. ion_client is also now only used internally. We have enough
mechanisms for race conditions and leaks already so just drop ion_handle
and ion_client. This also includes ripping out most of the debugfs
infrastructure since much of that was tied to clients and handles.
The debugfs infrastructure was prone to give confusing data (orphaned
allocations) so it can be replaced with something better if people
actually want it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion-ioctl.c
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/uapi/ion.h