diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-10 16:52:54 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-03-17 11:00:27 +0900 |
commit | 3c65fb849e1ba9fb6454bcaa55b696548902f3fc (patch) | |
tree | 6b32c390f9b18aa527c2da2a005f2b0239bfc534 /src/radeon_kms.c | |
parent | 8fc9a241ab59ffbcdc178d6415332c88a54e85fe (diff) |
Add support for the Present extension v2
v2: Fix up for struct radeon_drm_queue -> radeon_drm_queue_entry.
Swapped order of patches 11 & 12 because the Present extension uses
SYNC fences.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index 521f3b95..f4452bc9 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1340,7 +1340,8 @@ Bool RADEONScreenInit_KMS(SCREEN_INIT_ARGS_DECL) } #endif - radeon_sync_init(pScreen); + if (radeon_sync_init(pScreen)) + radeon_present_screen_init(pScreen); pScrn->vtSema = TRUE; xf86SetBackingStore(pScreen); |