summaryrefslogtreecommitdiff
path: root/src/vivante.c
AgeCommit message (Collapse)Author
2014-11-22vivante: fix missing composite offsets for CopyWindow()HEADmasterRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-09-12vivante: fix Composite repeat handlingRussell King
We should change the Picture's repeat setting across a Composite operation. Ensure that this is restored after we've done processing the operation. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-08-26vivante: fix buggy error path when mapping non-shmem bosRussell King
We were freeing the vivante_pixmap structure, but were then going on to store a pointer to it - this is not what was intended. Ensure that we mark the pixmap as being without a vivante_pixmap structure. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-08-14vivante: use xf86ScreenToScrn(pScreen)Russell King
Use xf86ScreenToScrn(pScreen) rather than directly converting via xf86Screens. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-08-14src: avoid passing the Armada buffer manager for non-Armada hardwareRussell King
Avoid passing the Armada buffer manager into the acceleration backend when we are not using the Armada-DRM kernel driver. The Armada buffer manager relies on some private IOCTLs which are not implemented by other driveres. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-08-02vivante: include alpha channel in pixmapsRussell King
Always include the alpha channel in pixmap operations. This required as the blit can be used to upload images to the pixmaps which back a Xrender picture, where the alpha channel must be preserved, and because the 2D PE2.0 engine will avoid copying those bits. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-03-20Disable vivante batch processingRussell King
With modern kernel drivers, there is no need to implement batching; this is only necessary if the kernel driver is buggy and allows the commit-with-stall to return before the pending operations have been completed. This allows removal of the batch code; however, keeping the batch code around is wise should the bug reappear in later code drops. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2014-03-20Ensure DRI2 is closed down at the right pointRussell King
DRI2 is initialised before we hook the accelerator functions into the screen, so closing down DRI2 should happen after these functions have been unhooked from the screen for proper symmetry. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-12-04compat-api stuff addedSergey Bolshakov
Signed-off-by: Sergey Bolshakov <sbolshakov@altlinux.org> Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Move bo map/unmap to vivante_utils.cRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Cleanup pixmap freeingRussell King
This makes it slightly more sane; as bos mapped via dmabuf are refcounted, the order doesn't really matter, but it's nicer to do it this way. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Provide a function to unmap bo-mapped objectsRussell King
This complements vivante_map_bo_to_gpu(). Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Move checks out of vivante_unmap_gpu()Russell King
Move the checks to the caller for vivante_unmap_gpu(), so that all callsites behave in the same way. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-06-16Add remainder of the dmabuf changesRussell King
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-06-14Initialize vivante drm_fd in vivante_ScreenInitRussell King
Move drm_fd out of the DRI2 code into the upper vivante layer. Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
2013-06-14Initial checkin of Marvell Armada xorg driverRussell King
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>