diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-01-31 16:25:37 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2017-01-31 16:25:37 +0900 |
commit | 80fc78633962c1ec996b1721bfb757b98dc85bfc (patch) | |
tree | 18d41d731e5a1dfd0d9f8f0cf367ee8b4bb4dd78 /src | |
parent | d611d21d9bf9aaa100ff7a5762e5980634846207 (diff) |
Don't handle Option "SwapbuffersWait" at all with glamor
It never had any effect with glamor.
v2: Better formatting, no functional change from v1.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_kms.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index 44685256..a95b51ab 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1801,10 +1801,13 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) } } - info->swapBuffersWait = xf86ReturnOptValBool(info->Options, - OPTION_SWAPBUFFERS_WAIT, TRUE); - xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "SwapBuffers wait for vsync: %sabled\n", info->swapBuffersWait ? "en" : "dis"); + if (!info->use_glamor) { + info->swapBuffersWait = + xf86ReturnOptValBool(info->Options, OPTION_SWAPBUFFERS_WAIT, TRUE); + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "SwapBuffers wait for vsync: %sabled\n", + info->swapBuffersWait ? "en" : "dis"); + } if (xf86ReturnOptValBool(info->Options, OPTION_DELETE_DP12, FALSE)) { info->drmmode.delete_dp_12_displays = TRUE; |