blob: e892d8f18190c8bd79ae685eb801786fa10ff951 [file] [log] [blame]
Dave Barnishf4659732013-03-08 10:11:08 +00001xf86-video-armsoc
2Open-source X.org graphics driver for ARM graphics
Rob Clark487687e2011-07-17 17:29:02 -05003
Ray Smith3c33c3d2013-03-26 16:06:37 +00004DRM driver selection
5--------------------
6While most operations use only the standard DRM modesetting interfaces, certain operations
7unavoidably rely on specific driver behaviour (including dumb buffer allocation flags and cursor
8plane z-ordering). As such, the armsoc driver must be configured for a particular DRM driver.
Rob Clark487687e2011-07-17 17:29:02 -05009
Ray Smith3c33c3d2013-03-26 16:06:37 +000010The currently supported DRM drivers are:
11- pl111
12- exynos
Rob Clark487687e2011-07-17 17:29:02 -050013
Ray Smith3c33c3d2013-03-26 16:06:37 +000014To configure armsoc for one of these, pass the --with-drmmode option to ./configure. For example:
Rob Clark487687e2011-07-17 17:29:02 -050015
Ray Smith3c33c3d2013-03-26 16:06:37 +000016$ ./configure --with-drmmode=pl111
Rob Clark487687e2011-07-17 17:29:02 -050017
Ray Smith3c33c3d2013-03-26 16:06:37 +000018For other drivers, you will need to implement this support yourself. A template implementation is
19provided in src/drmmode_template which can be built by passing --with-drmmode=template to ./configure.
20The interface is defined and documented in src/drmmode_driver.h, and you should refer to this while
21modifying the template to set up your DRM driver's abstraction appropriately.
22
23You can also copy src/drmmode_template into src/drmmode_<yourdrivername> and build with:
24
25$ ./configure --with-drmmode=<yourdrivername>
Dave Barnishf4659732013-03-08 10:11:08 +000026
John Rees292ae502013-03-21 16:24:35 +000027