[PATCH 12/33] kmssink: use drm bufferpool and dmabuf to for zero copy
authorRob Clark <rob@ti.com>
Tue, 12 Jun 2012 15:19:26 +0000 (10:19 -0500)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 21 Nov 2012 16:12:33 +0000 (13:12 -0300)
commit116827debb99508cdfefb6662eddeea2aa1aab5b
tree34cc75b8fbfbfb4dd3654f51628ee85068f21243
parentccec159d998bf25d77115aff327470410d314105
[PATCH 12/33] kmssink: use drm bufferpool and dmabuf to for zero copy

Get rid of our internal buffer pool, and instead use GstDRMBufferPool.
Use dmabuf to get handle to underlying buffer object, and qdata to
attach our own private data to the buffer.

This way we don't really care who allocates the buffer, and can deal
in the same way with our own buffers, or any other buffer allocator
that is using dmabuf.
14 files changed:
sys/kms/Makefile.am
sys/kms/gstducati.h [deleted file]
sys/kms/gstducatibuffer.c [deleted file]
sys/kms/gstducatibuffer.h [deleted file]
sys/kms/gstducatibufferpool.c [deleted file]
sys/kms/gstducatibufferpool.h [deleted file]
sys/kms/gstducatidrmbuffer.c [deleted file]
sys/kms/gstducatidrmbuffer.h [deleted file]
sys/kms/gstducatikmsbuffer.c [deleted file]
sys/kms/gstducatikmsbuffer.h [deleted file]
sys/kms/gstkmsbufferpriv.c [new file with mode: 0644]
sys/kms/gstkmsbufferpriv.h [new file with mode: 0644]
sys/kms/gstkmssink.c
sys/kms/gstkmssink.h