diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2015-07-29 14:39:02 +0200 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-08-03 14:17:16 -0400 |
commit | 6296145654b78518f3299bb5887f224f0d3810fd (patch) | |
tree | d85f1e567f9712d6975eba70751d8102ac7c55ab /src/Makefile.am | |
parent | 0deb1fcc6d1099db698ff8c512a4884708a458ec (diff) |
Add Option "DRI" to allow selection of maximum DRI level. (v2)
Allow user to select the maximum level of DRI implementation
to use, DRI2 or DRI3.
exa accel supports both DRI2 and, if the kernel supports
rendernodes, also DRI3. However, DRI3 still seems to have
some bugs on current implementations, and additionally it
doesn't work well at all for X-Servers older than 1.16.3
due to X-Server bugs. Therefore we default to DRI2 on exa,
but allow the user to enable DRI3 with this new option.
nouveau's glamor accel backend currently doesn't work under
DRI2 at all, so we continue to use DRI3 whenever it is
supported and ignore this new option for now.
Also add a bit more output about status of Present and
DRI3 to aid debugging.
Note: This was originally meant to be a boolean parameter,
to just select between DRI3 on and off, but changed
here to a DRI level to make it consistent with the
same option in the released Intel-ddx.
v2: Use fixed up Bool return type of nouveau_present_init().
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Martin Peres <martin.peres@free.fr>
Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions