diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-05-10 19:02:20 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-05-11 12:25:23 +0900 |
commit | 1181b9c582f10b6c523e4b2988e2ce87ecf3d367 (patch) | |
tree | 97d4f7d7a958a894d82ba7ecdc4ed5a3a3113cd4 /src/radeon_kms.c | |
parent | c801f9f10a5d72d935faf21e72f7e7808fb4f05f (diff) |
Enable DRI3 by default when building for Xorg >= 1.18.3
Seems to work well enough in general now.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |