From: Michel Dänzer <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94214
Signed-off-by: Michel Dänzer <[email protected]>
---
src/radeon_kms.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 27d9fed..d6a9aa9 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1713,13 +1713,16 @@ Bool RADEONScreenInit_KMS(SCREEN_INIT_ARGS_DECL)
value = FALSE;
from = X_DEFAULT;
- if (xf86GetOptValBool(info->Options, OPTION_DRI3, &value))
- from = X_CONFIG;
- if (xf86GetOptValInteger(info->Options, OPTION_DRI, &driLevel) &&
- (driLevel == 2 || driLevel == 3)) {
- from = X_CONFIG;
- value = driLevel == 3;
+ if (!info->r600_shadow_fb) {
+ if (xf86GetOptValBool(info->Options, OPTION_DRI3, &value))
+ from = X_CONFIG;
+
+ if (xf86GetOptValInteger(info->Options, OPTION_DRI, &driLevel) &&
+ (driLevel == 2 || driLevel == 3)) {
+ from = X_CONFIG;
+ value = driLevel == 3;
+ }
}
if (value) {
--
2.8.0.rc3
_______________________________________________
xorg-driver-ati mailing list
[email protected]
https://lists.x.org/mailman/listinfo/xorg-driver-ati