All of lore.kernel.org
 help / color / mirror / Atom feed
* [EARLY RFC][PATCH 0/4] ION per heap devices
@ 2019-02-15 20:24 John Stultz via dri-devel
  2019-02-15 20:24 ` [EARLY RFC][PATCH 1/4] ion: Add ION_VERSION ioctl John Stultz via dri-devel
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: John Stultz via dri-devel @ 2019-02-15 20:24 UTC (permalink / raw)
  To: Laura Abbott; +Cc: Alistair Strachan, Liam Mark, Andrew F . Davis, dri-devel

This is a *very early RFC* (it builds, that's all I'll say :)
but I wanted to share it to get some initial feedback before I
go down the rabit hole of trying to adapt the Android userland
code to get this fully validated.

This patchset tries to implement the per-heap devices for ION.
The main benefit is that it avoids multiplexing heap operations
through the /dev/ion interface, and allows for each heap to have
its own permissions/sepolicy rules.

Feedback would be greatly appreciated!
thanks
-john

Cc: Laura Abbott <labbott@redhat.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Brian Starkey <Brian.Starkey@arm.com>
Cc: Andrew F. Davis <afd@ti.com>
Cc: Alistair Strachan <astrachan@google.com>
Cc: dri-devel@lists.freedesktop.org

John Stultz (4):
  ion: Add ION_VERSION ioctl
  ion: Initial hack to create per heap devices
  ion: Add HEAP_INFO ioctl to be able to fetch heap type
  ion: Make "legacy" /dev/ion support optional

 drivers/staging/android/ion/Kconfig     |  7 +++
 drivers/staging/android/ion/ion-ioctl.c | 80 +++++++++++++++++++++++++++++++++
 drivers/staging/android/ion/ion.c       | 51 ++++++++++++++++-----
 drivers/staging/android/ion/ion.h       |  6 +++
 drivers/staging/android/uapi/ion.h      | 57 +++++++++++++++++++++++
 5 files changed, 191 insertions(+), 10 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2019-02-20 17:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 20:24 [EARLY RFC][PATCH 0/4] ION per heap devices John Stultz via dri-devel
2019-02-15 20:24 ` [EARLY RFC][PATCH 1/4] ion: Add ION_VERSION ioctl John Stultz via dri-devel
2019-02-19 20:46   ` Laura Abbott
2019-02-19 21:29     ` John Stultz
2019-02-15 20:24 ` [EARLY RFC][PATCH 2/4] ion: Initial hack to create per heap devices John Stultz via dri-devel
2019-02-19 21:17   ` Laura Abbott
2019-02-19 21:36     ` John Stultz
2019-02-15 20:24 ` [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type John Stultz via dri-devel
2019-02-19 21:13   ` Laura Abbott
2019-02-19 21:39     ` Andrew F. Davis
2019-02-19 21:46       ` Laura Abbott
2019-02-19 21:50         ` John Stultz
2019-02-19 21:47     ` John Stultz
2019-02-20 15:07       ` Brian Starkey
2019-02-20 17:29         ` John Stultz
2019-02-15 20:24 ` [EARLY RFC][PATCH 4/4] ion: Make "legacy" /dev/ion support optional John Stultz via dri-devel
2019-02-18 11:51 ` [EARLY RFC][PATCH 0/4] ION per heap devices Brian Starkey
2019-02-19 17:21   ` John Stultz
2019-02-19 20:51     ` Laura Abbott
2019-02-19 21:25 ` Laura Abbott
2019-02-19 21:30   ` Andrew F. Davis
2019-02-19 21:54     ` Laura Abbott
2019-02-19 21:55   ` John Stultz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.