Age | Commit message (Collapse) | Author |
|
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
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>
|
|
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>
|
|
Use xf86ScreenToScrn(pScreen) rather than directly converting via
xf86Screens.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sergey Bolshakov <sbolshakov@altlinux.org>
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
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>
|
|
This complements vivante_map_bo_to_gpu().
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
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>
|
|
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
|
|
Move drm_fd out of the DRI2 code into the upper vivante layer.
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
|
|
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
|