Don't enable DRI3 by default with EXA

It doesn't work correctly in all cases, see e.g.
https://bugs.freedesktop.org/show_bug.cgi?id=95475 . I'm not sure this
is fixable, given EXA's architecture.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer
2016-07-12 17:36:27 +09:00
committed by Michel Dänzer
parent 6d91fb4fc7
commit 94fe42f29e
2 changed files with 4 additions and 3 deletions

View File

@@ -271,8 +271,9 @@ 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, otherwise
.B 2 for DRI2.
if the driver was compiled for Xorg >= 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
.BI "Option \*qEnablePageFlip\*q \*q" boolean \*q
Enable DRI2 page flipping. The default is

View File

@@ -1726,7 +1726,7 @@ Bool RADEONScreenInit_KMS(SCREEN_INIT_ARGS_DECL)
#endif
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,18,3,0,0)
value = TRUE;
value = info->use_glamor;
#else
value = FALSE;
#endif