From 1181b9c582f10b6c523e4b2988e2ce87ecf3d367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 10 May 2016 19:02:20 +0900 Subject: Enable DRI3 by default when building for Xorg >= 1.18.3 Seems to work well enough in general now. Reviewed-by: Alex Deucher --- src/radeon_kms.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/radeon_kms.c b/src/radeon_kms.c index c35c9510..940aad27 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1722,7 +1722,11 @@ Bool RADEONScreenInit_KMS(SCREEN_INIT_ARGS_DECL) } #endif +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,18,3,0,0) + value = TRUE; +#else value = FALSE; +#endif from = X_DEFAULT; if (!info->r600_shadow_fb) { -- cgit v1.2.3