[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, 19 Dec 2012 12:46:32 +0000 (09:46 -0300)
commit51dc8e7a431a78c0232aade2447539ad48ef4627
treec986c8fe0bbdafe839d266839815d3d9aad648ec
parentcdd3d051c95913e57b97e4a5e4402d05cfa2bdd0
[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