Check Xorg version at runtime instead of build time in two places

This means that all possible paths can be handled as intended, no matter
which Xorg version the driver happened to be compiled against.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer
2016-11-01 16:30:42 +09:00
committed by Michel Dänzer
parent 5df36de399
commit 350a2645a1
3 changed files with 9 additions and 10 deletions

View File

@@ -271,7 +271,7 @@ Sea Islands.
Define the maximum level of DRI to enable. Valid values are 2 for DRI2 or 3 for DRI3.
The default is
.B 3 for DRI3
if the driver was compiled for Xorg >= 1.18.3 and glamor is enabled, otherwise
if the Xorg version is >= 1.18.3 and glamor is enabled, otherwise
.B 2 for DRI2. Note:
DRI3 may not work correctly in all cases with EXA, enable at your own risk.
.TP