xf86-video-amdgpu: Branch 'master'
Michel Dänzer
daenzer at kemper.freedesktop.org
Thu Mar 24 08:47:04 UTC 2016
src/amdgpu_kms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4a60b4b1851a3cbc2d8ad9048d68eeb6947cf132
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Mar 24 12:03:38 2016 +0900
Call AMDGPUBlockHandler_KMS before setting initial modes
Doing it the other way around meant that there was still a possibility
for the front buffer contents to be uninitialized when they start being
scanned out.
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
diff --git a/src/amdgpu_kms.c b/src/amdgpu_kms.c
index 9fd3254..f840e10 100644
--- a/src/amdgpu_kms.c
+++ b/src/amdgpu_kms.c
@@ -536,9 +536,9 @@ static void AMDGPUBlockHandler_oneshot(BLOCKHANDLER_ARGS_DECL)
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
AMDGPUInfoPtr info = AMDGPUPTR(pScrn);
- drmmode_set_desired_modes(pScrn, &info->drmmode, TRUE);
-
AMDGPUBlockHandler_KMS(BLOCKHANDLER_ARGS);
+
+ drmmode_set_desired_modes(pScrn, &info->drmmode, TRUE);
}
static void
More information about the xorg-commit
mailing list