diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-23 17:23:31 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-23 17:23:31 +0900 |
commit | eb1a2c57e6c45d7ca57b2e2be643194243b7aae1 (patch) | |
tree | d611ef0d0c79732c8407d15d99a4829bdc3d1f6e /src/radeon_kms.c | |
parent | d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9 (diff) |
TearFree can only work with acceleration
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index d89c3760..27d9fed9 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1278,11 +1278,13 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) } #endif - info->tear_free = xf86ReturnOptValBool(info->Options, OPTION_TEAR_FREE, - FALSE); + if (!info->r600_shadow_fb) { + info->tear_free = xf86ReturnOptValBool(info->Options, OPTION_TEAR_FREE, + FALSE); - if (info->tear_free) - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "TearFree enabled\n"); + if (info->tear_free) + xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "TearFree enabled\n"); + } if (info->dri2.pKernelDRMVersion->version_minor >= 8) { Bool sw_cursor = xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE); |