- U_01-* ... U_20-* : Include patches that haven't made it into the 7.7.1 release. This means almost all commits between xf86-video-ati-7.7.0 and 12d30eeb9711bd2b1609d6bbb74c4a1760596f72. Fixes (bsc#990066). OBS-URL: https://build.opensuse.org/request/show/438260 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-ati?expand=0&rev=51
49 lines
1.6 KiB
Diff
49 lines
1.6 KiB
Diff
From: Michel Dänzer <michel.daenzer@amd.com>
|
|
Date: Tue Jul 12 17:36:27 2016 +0900
|
|
Subject: [PATCH 9/20]Don't enable DRI3 by default with EXA
|
|
Patch-mainline: Upstream
|
|
Git-repo: git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
|
|
Git-commit: 94fe42f29e0b00a26e810581d6c438ac6d8ecd8a
|
|
References: bsc#990066
|
|
Signed-off-by: Max Staudt <mstaudt@suse.de>
|
|
|
|
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>
|
|
---
|
|
man/radeon.man | 5 +++--
|
|
src/radeon_kms.c | 2 +-
|
|
2 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/man/radeon.man b/man/radeon.man
|
|
index cacafb5..44603a5 100644
|
|
--- a/man/radeon.man
|
|
+++ b/man/radeon.man
|
|
@@ -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
|
|
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
|
|
index 3ba9945..a618513 100644
|
|
--- a/src/radeon_kms.c
|
|
+++ b/src/radeon_kms.c
|
|
@@ -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
|