Dave Barnish | f465973 | 2013-03-08 10:11:08 +0000 | [diff] [blame] | 1 | xf86-video-armsoc |
| 2 | Open-source X.org graphics driver for ARM graphics |
Rob Clark | 487687e | 2011-07-17 17:29:02 -0500 | [diff] [blame] | 3 | |
Ray Smith | 3c33c3d | 2013-03-26 16:06:37 +0000 | [diff] [blame] | 4 | DRM driver selection |
| 5 | -------------------- |
| 6 | While most operations use only the standard DRM modesetting interfaces, certain operations |
| 7 | unavoidably rely on specific driver behaviour (including dumb buffer allocation flags and cursor |
| 8 | plane z-ordering). As such, the armsoc driver must be configured for a particular DRM driver. |
Rob Clark | 487687e | 2011-07-17 17:29:02 -0500 | [diff] [blame] | 9 | |
Ray Smith | 3c33c3d | 2013-03-26 16:06:37 +0000 | [diff] [blame] | 10 | The currently supported DRM drivers are: |
| 11 | - pl111 |
| 12 | - exynos |
Rob Clark | 487687e | 2011-07-17 17:29:02 -0500 | [diff] [blame] | 13 | |
Ray Smith | 3c33c3d | 2013-03-26 16:06:37 +0000 | [diff] [blame] | 14 | To configure armsoc for one of these, pass the --with-drmmode option to ./configure. For example: |
Rob Clark | 487687e | 2011-07-17 17:29:02 -0500 | [diff] [blame] | 15 | |
Ray Smith | 3c33c3d | 2013-03-26 16:06:37 +0000 | [diff] [blame] | 16 | $ ./configure --with-drmmode=pl111 |
Rob Clark | 487687e | 2011-07-17 17:29:02 -0500 | [diff] [blame] | 17 | |
Ray Smith | 3c33c3d | 2013-03-26 16:06:37 +0000 | [diff] [blame] | 18 | For other drivers, you will need to implement this support yourself. A template implementation is |
| 19 | provided in src/drmmode_template which can be built by passing --with-drmmode=template to ./configure. |
| 20 | The interface is defined and documented in src/drmmode_driver.h, and you should refer to this while |
| 21 | modifying the template to set up your DRM driver's abstraction appropriately. |
| 22 | |
| 23 | You can also copy src/drmmode_template into src/drmmode_<yourdrivername> and build with: |
| 24 | |
| 25 | $ ./configure --with-drmmode=<yourdrivername> |
Dave Barnish | f465973 | 2013-03-08 10:11:08 +0000 | [diff] [blame] | 26 | |
John Rees | 292ae50 | 2013-03-21 16:24:35 +0000 | [diff] [blame] | 27 | |