summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-20Add COPYING fileHEADmasterRussell King
Signed-off-by: Russell King <rmk@armlinux.org.uk>
2015-09-29Add armada_ioctl.h to the distribution tarballLucas Stach
This file is used by armada_bufmgr.c. Building from the distribution tarball sources fails as it is missing there. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-07-31Increment library versionRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2015-07-31Add prime importRussell King
Add DRM prime import support to the armada-drm buffer manager. This allows dma_bufs to be imported into armada-drm for display. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-10-12Better tracking of re-usable bosRussell King
Whether a bo can be re-used or not depends whether we have flink'd it, whether it was imported from a global name, or imported from a fd. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-10-12Increment library versionRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-10-12Add drm_armada_cache_reap()Russell King
Provide an API to allow libdrm-armada's internal BO cache to be reaped. This API returns TRUE if there are still BOs in the cache which may be reaped at a later time, which allows users to schedule further reaps. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-10-12Add drm_armada_bo_create_size()Russell King
Allow arbitary sized bos to be created. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-11-02Update debian changelogRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-09-22Remove drm_armada_bo_create_phys()Russell King
We no longer need this function, because we can do everything via the dma_buf passing methods. So, get rid of this. Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-09-22Add hashtables to store DRM object handles and namesRussell King
With flink support, we really need to know whether a particular handle relates to an object we already know about. Store the buffer objects in a hash table using the handle as a key. Do the same with DRM names. Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-09-22Remove drm_armada_bo_phys() and its associated ioctlRussell King
drm_armada_bo_phys() is no longer necessary with dmabuf support, so drop it from the library. Also get rid of the bo "phys" member. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-09-22Initial prime supportRussell King
Add initial prime support for exporting gem objects via dmabuf. Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-06-12Kernel API updatesRussell King
Get rid of unused members in the create ioctl, and re-shuffle the pwrite ioctl to avoid any ABI issues. Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-05-21Rename dove -> armadaRussell King
As this is not specific to Armada 510 (Dove) devices, but also appears on other Marvell Armada devices, use "armada" as the name rather than "dove". Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-05-05Caching support - v2Russell King
* Re-vamp API to allow a buffer manager object, stop passing fd into every function. * Add caching support Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-05-05Add support for named bosRussell King
* Add drm_dove_bo_create_from_name() * Add drm_dove_bo_flink() Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-05-05Initial checkinRussell King
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>