summaryrefslogtreecommitdiff
path: root/src/armada_drm.h
AgeCommit message (Collapse)Author
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>
2013-12-04Convert Armada DRM CRTC into a set of library functionsRussell King
Convert much more of the Armada DRM driver to be a set of library Armada independent DRM functions. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-30Move the drm fd into our crtc structureRussell King
Moving the DRM fd into the crtc structure removes a dependency between the Armada DRM specific parts and our CRTC handling. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Move cursor maximum width/height to private crtc info structureRussell King
Rather than having this hard-coded everywhere, move it into the struct so we can later make this configurable - especially as we support 64x32 or 32x64 cursors. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Wrap udev structures up in its own structureRussell King
Separate out all the udev information into its own structure. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-10-29Add common utils helpersRussell King
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-06-30Probe for hardware cursor supportRussell King
Not all Armada devices support hardware cursor, so probe for the kernel supporting this feature before telling the X server that it can use it. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2013-06-16CRTC updatesRussell King
Use armada_crtc() to access the private information, and add a 'num' field to the CRTC to identify the CRTC index. Signed-off-by: Russell King <rmk@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>