Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
Allow arbitary sized bos to be created.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
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>
|
|
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>
|
|
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>
|
|
Add initial prime support for exporting gem objects via dmabuf.
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
|
|
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>
|
|
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>
|